aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-09-04 17:48:08 +0200
committerSverker Eriksson <[email protected]>2012-09-04 17:48:08 +0200
commitb29ecbdba1502b46bcdf556639813e6f5efbba55 (patch)
tree8567c3d0db350e0b766ac611942c05e19eebadc3 /erts
parent952db27ba0a5b87a2a47f3a7034a9bf92e3651e5 (diff)
downloadotp-b29ecbdba1502b46bcdf556639813e6f5efbba55.tar.gz
otp-b29ecbdba1502b46bcdf556639813e6f5efbba55.tar.bz2
otp-b29ecbdba1502b46bcdf556639813e6f5efbba55.zip
erts: Fix gcc atomic bug in ethread.h
A faulty #if 0 caused healthy gcc builtin atomic to be ignored.
Diffstat (limited to 'erts')
-rw-r--r--erts/include/internal/ethread.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/include/internal/ethread.h b/erts/include/internal/ethread.h
index 142c26c0ca..e1885c627a 100644
--- a/erts/include/internal/ethread.h
+++ b/erts/include/internal/ethread.h
@@ -355,10 +355,8 @@ extern ethr_runtime_t ethr_runtime__;
# include "sparc64/ethread.h"
# endif
# endif
-#if 0
# include "gcc/ethread.h"
# include "libatomic_ops/ethread.h"
-#endif
# endif
# elif defined(ETHR_HAVE_LIBATOMIC_OPS)
# include "libatomic_ops/ethread.h"