summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorrpj <rpj>2011-03-03 23:37:20 +0000
committerrpj <rpj>2011-03-03 23:37:20 +0000
commite470da85f7b9426eea03d66086c2822bf29e9b05 (patch)
treeb3747768258dc62752612327904be1f1067d5c7f /config.h
parent1170175259781ece4a8d99d517230f4b9ecb7b50 (diff)
Some cleanups, mostly x86_64 compat plus interlocked macros
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h b/config.h
index 66f6f17..402b963 100644
--- a/config.h
+++ b/config.h
@@ -46,6 +46,14 @@
/* Do we know about type mode_t? */
#undef HAVE_MODE_T
+/*
+ * Define if GCC has atomic builtins, i.e. __sync_* intrinsics
+ * __sync_lock_* is implemented in mingw32 gcc 4.5.2 at least
+ * so this define does not turn those on or off. If you get an
+ * error from __sync_lock* then consider upgrading your gcc.
+ */
+#undef HAVE_GCC_ATOMIC_BUILTINS
+
/* Define if you have the timespec struct */
#undef HAVE_STRUCT_TIMESPEC