summaryrefslogtreecommitdiff
path: root/ACE/ace/config-macosx-snowleopard.h
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-07-15 09:12:20 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-07-15 09:12:20 +0000
commit68930d4468339cadfe839dcb573a79576f22313b (patch)
tree9b8bb08812df1ec5ce4d20318cbeac800f8a42f4 /ACE/ace/config-macosx-snowleopard.h
parent5cbc21cbea68766388b2704c9b3b1d15d455a14d (diff)
downloadATCD-68930d4468339cadfe839dcb573a79576f22313b.tar.gz
Thu Jul 15 09:11:51 UTC 2010 William R. Otte <wotte@dre.vanderbilt.edu>
* ace/config-macosx-snowleopard.h: * include/makeinclude/platform_clang_common.GNU: * include/makeinclude/platform_macosx_common.GNU: Preliminary support for clang compiler.
Diffstat (limited to 'ACE/ace/config-macosx-snowleopard.h')
-rw-r--r--ACE/ace/config-macosx-snowleopard.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ACE/ace/config-macosx-snowleopard.h b/ACE/ace/config-macosx-snowleopard.h
index 4094eab621c..6869b7a6817 100644
--- a/ACE/ace/config-macosx-snowleopard.h
+++ b/ACE/ace/config-macosx-snowleopard.h
@@ -2,9 +2,16 @@
#ifndef ACE_CONFIG_MACOSX_SNOWLEOPARD_H
#define ACE_CONFIG_MACOSX_SNOWLEOPARD_H
+
#include "ace/config-macosx-leopard.h"
+#ifdef __clang__
+#ifdef ACE_HAS_GCC_ATOMIC_BUILTINS
+#undef ACE_HAS_GCC_ATOMIC_BUILTINS
+#endif
+#endif
+
// This header has been deprecated in Snow Leopard.
#define ACE_LACKS_UCONTEXT_H
-#endif ACE_CONFIG_MACOSX_SNOWLEOPARD_H
+#endif // ACE_CONFIG_MACOSX_SNOWLEOPARD_H