Fix issue with GCC < 4.9

This commit is contained in:
Patrick Pelissier committed 2017-08-11 19:51:52 +02:00
1 parent f805c810b7
commit 670502fc2d
1 file changed
+1 -1
+1 -1
View File
@@ -92,7 +92,7 @@ using std::atomic_flag_clear_explicit;
#define _Atomic(T) std::atomic< T >
#elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) \
|| ( defined(__GNUC__) && !defined(__clang__) && !defined(__cplusplus)) \
|| ( defined(__GNUC__) && !defined(__clang__) && !defined(__cplusplus) && (__GNUC__*100 + __GNUC_MINOR__) >= 409) \
|| (defined(__clang__) && __clang_major__ >= 4)
/* CLANG 3.5 has issues with GCC's stdatomic.h