diff --git a/m-atomic.h b/m-atomic.h index 8c930aae..8590dd50 100644 --- a/m-atomic.h +++ b/m-atomic.h @@ -34,7 +34,7 @@ GCC 4.9 doesn't have a working implementation of 'atomic' */ #if defined(__cplusplus) && __cplusplus >= 201103L \ - && !(defined(__GNUC__) && __GNUC__ < 5) + && !(defined(__GNUC__) && __GNUC__ < 5 && !defined(__APPLE__)) /* NOTE: This is what the stdatomic.h header shall do in C++ mode. */ #include