summaryrefslogtreecommitdiff
path: root/libgo/config.h.in
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-12 06:23:08 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-12 06:23:08 +0000
commit97a9e84db7393685db4d56f134fc73ee94c0995e (patch)
treed088dbdf76ccf89230dc607d000488ace3bb43e9 /libgo/config.h.in
parent9116c6038a9c15eae91de1dd8ddb75f22656cce5 (diff)
downloadgcc-97a9e84db7393685db4d56f134fc73ee94c0995e.tar.gz
PR go/52084
libgo: Provide more __sync functions if required. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184138 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/config.h.in')
-rw-r--r--libgo/config.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgo/config.h.in b/libgo/config.h.in
index afbb9ee9c53..ae81ff45b47 100644
--- a/libgo/config.h.in
+++ b/libgo/config.h.in
@@ -105,10 +105,18 @@
/* Define to 1 if <math.h> defines struct exception */
#undef HAVE_STRUCT_EXCEPTION
+/* Define to 1 if the compiler provides the __sync_add_and_fetch function for
+ uint64 */
+#undef HAVE_SYNC_ADD_AND_FETCH_8
+
/* Define to 1 if the compiler provides the __sync_bool_compare_and_swap
function for uint32 */
#undef HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4
+/* Define to 1 if the compiler provides the __sync_bool_compare_and_swap
+ function for uint64 */
+#undef HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8
+
/* Define to 1 if the compiler provides the __sync_fetch_and_add function for
uint32 */
#undef HAVE_SYNC_FETCH_AND_ADD_4