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 undo the thread and atomic los...
details: https://anonhg.NetBSD.org/src/rev/7cc5f2cc3965
branches: trunk
changeset: 762289:7cc5f2cc3965
user: christos <christos%NetBSD.org@localhost>
date: Fri Feb 18 21:25:06 2011 +0000
description:
undo the thread and atomic lossage of the import.
diffstat:
external/bsd/bind/include/isc/platform.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diffs (32 lines):
diff -r f5fc8513dbc8 -r 7cc5f2cc3965 external/bsd/bind/include/isc/platform.h
--- a/external/bsd/bind/include/isc/platform.h Fri Feb 18 21:08:18 2011 +0000
+++ b/external/bsd/bind/include/isc/platform.h Fri Feb 18 21:25:06 2011 +0000
@@ -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,
Home |
Main Index |
Thread Index |
Old Index