It seems GNUC is force to 4 for APPLE/CLANG
This commit is contained in:
1 parent
f742707699
commit
f6483cbb30
1 file changed
+1
-1
+1
-1
@@ -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 <atomic>
|
||||
|
||||
Reference in new issue
Block a user