Permalink
Browse files

erts: Fix gcc atomic bug in ethread.h

A faulty #if 0 caused healthy gcc builtin atomic to be ignored.
  • Loading branch information...
1 parent 952db27 commit b29ecbdba1502b46bcdf556639813e6f5efbba55 @sverker sverker committed Sep 4, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 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"

0 comments on commit b29ecbd

Please sign in to comment.