Print this page
7120 mDNS resync was not wsdiff safe

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdns_sd/java/common/JNISupport.c
          +++ new/usr/src/lib/libdns_sd/java/common/JNISupport.c
↓ open down ↓ 1061 lines elided ↑ open up ↑
1062 1062  
1063 1063  
1064 1064  // Note: The C preprocessor stringify operator ('#') makes a string from its argument, without macro expansion
1065 1065  // e.g. If "version" is #define'd to be "4", then STRINGIFY_AWE(version) will return the string "version", not "4"
1066 1066  // To expand "version" to its value before making the string, use STRINGIFY(version) instead
1067 1067  #define STRINGIFY_ARGUMENT_WITHOUT_EXPANSION(s) # s
1068 1068  #define STRINGIFY(s) STRINGIFY_ARGUMENT_WITHOUT_EXPANSION(s)
1069 1069  
1070 1070  // NOT static -- otherwise the compiler may optimize it out
1071 1071  // The "@(#) " pattern is a special prefix the "what" command looks for
     1072 +#ifndef MDNS_VERSIONSTR_NODTS
1072 1073  const char VersionString_SCCS[] = "@(#) libjdns_sd " STRINGIFY(mDNSResponderVersion) " (" __DATE__ " " __TIME__ ")";
     1074 +#else
     1075 +const char VersionString_SCCS[] = "@(#) libjdns_sd " STRINGIFY(mDNSResponderVersion);
     1076 +#endif
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX