Module Name: src Committed By: christos Date: Tue Sep 13 19:07:44 UTC 2011
Modified Files: src/external/bsd/bind/dist/lib/isc/include/isc: util.h Log Message: Some versions of linux have probably marked fwrite(3) as __attribute__((__warn_unused_result__)) and the __builtin_expect() use here is an attempt to silence the warning. This does not work if the second argument of __builtin_expect() is not a constant, but we are not linux, so instead of going through the __builtin_constant_p() dance to correct this, just disable it for non linux OS's. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \ src/external/bsd/bind/dist/lib/isc/include/isc/util.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.