Module Name:    src
Committed By:   christos
Date:           Fri Feb 18 21:25:06 UTC 2011

Modified Files:
        src/external/bsd/bind/include/isc: platform.h

Log Message:
undo the thread and atomic lossage of the import.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/bind/include/isc/platform.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/bind/include/isc/platform.h
diff -u src/external/bsd/bind/include/isc/platform.h:1.10 src/external/bsd/bind/include/isc/platform.h:1.11
--- src/external/bsd/bind/include/isc/platform.h:1.10	Tue Feb 15 22:47:21 2011
+++ src/external/bsd/bind/include/isc/platform.h	Fri Feb 18 16:25:06 2011
@@ -206,7 +206,10 @@
 /*
  * Defined if we are using threads.
  */
+#if 0
+/* Put in the Makefile */
 #define ISC_PLATFORM_USETHREADS 1
+#endif
 
 /*
  * Defined if unistd.h does not cause fd_set to be delared.
@@ -261,13 +264,17 @@
  * 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,
  * ISC_PLATFORM_HAVEXADDQ will be defined.
  */
+#ifdef __HAVE_ATOMIC64_OPS
 #define ISC_PLATFORM_HAVEXADDQ 1
+#endif
 
 /*
  * If the "atomic swap" operation is available on this architecture,

Reply via email to