Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/bind/include/isc What ISC wraps under ISC_PLATF...



details:   https://anonhg.NetBSD.org/src/rev/13b2ff967e0f
branches:  trunk
changeset: 335278:13b2ff967e0f
user:      he <he%NetBSD.org@localhost>
date:      Thu Jan 01 15:28:30 2015 +0000

description:
What ISC wraps under ISC_PLATFORM_HAVEXADD appears to be 32-bit
atomic adds, and I beleive all our platforms can do that.  Therefore,
no need to conditionalize that definition under __HAVE_ATOMIC64_OPS.

diffstat:

 external/bsd/bind/include/isc/platform.h |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r e19db7f4f3d0 -r 13b2ff967e0f external/bsd/bind/include/isc/platform.h
--- a/external/bsd/bind/include/isc/platform.h  Thu Jan 01 15:18:45 2015 +0000
+++ b/external/bsd/bind/include/isc/platform.h  Thu Jan 01 15:28:30 2015 +0000
@@ -270,9 +270,7 @@
  * If the "xadd" operation is available on this architecture,
  * ISC_PLATFORM_HAVEXADD will be defined.
  */
-#ifdef __HAVE_ATOMIC64_OPS
 #define ISC_PLATFORM_HAVEXADD 1
-#endif
 
 /*
  * If the "xaddq" operation (64bit xadd) is available on this architecture,



Home | Main Index | Thread Index | Old Index