Skip to content

Commit

Permalink
erts: Fix gcc atomic bug in ethread.h
Browse files Browse the repository at this point in the history
A faulty #if 0 caused healthy gcc builtin atomic to be ignored.
  • Loading branch information
sverker committed Sep 4, 2012
1 parent 952db27 commit b29ecbd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions erts/include/internal/ethread.h
Expand Up @@ -355,10 +355,8 @@ extern ethr_runtime_t ethr_runtime__;
# include "sparc64/ethread.h" # include "sparc64/ethread.h"
# endif # endif
# endif # endif
#if 0
# include "gcc/ethread.h" # include "gcc/ethread.h"
# include "libatomic_ops/ethread.h" # include "libatomic_ops/ethread.h"
#endif
# endif # endif
# elif defined(ETHR_HAVE_LIBATOMIC_OPS) # elif defined(ETHR_HAVE_LIBATOMIC_OPS)
# include "libatomic_ops/ethread.h" # include "libatomic_ops/ethread.h"
Expand Down

0 comments on commit b29ecbd

Please sign in to comment.