+2
-6
lines changedFilter options
+2
-6
lines changed Original file line number Diff line number Diff line change
@@ -63,10 +63,8 @@
63
63
64
64
#if defined(ATOMIC_USE_SRT_SYNC_MUTEX) && (ATOMIC_USE_SRT_SYNC_MUTEX == 1)
65
65
// NOTE: Defined at the top level.
66
-
#elif defined(__APPLE__) && (__cplusplus >= 201103L)
67
-
// NOTE: Does support c++11 std::atomic, but the compiler may or
68
-
// may not support GCC atomic intrinsics. So go ahead and use the
69
-
// std::atomic implementation.
66
+
#elif __cplusplus >= 201103L
67
+
// NOTE: Prefer to use the c++11 std::atomic.
70
68
#define ATOMIC_USE_CPP11_ATOMIC
71
69
#elif (defined(__clang__) && defined(__clang_major__) && (__clang_major__ > 5)) \
72
70
|| defined(__xlc__)
@@ -98,8 +96,6 @@
98
96
#elif defined(_MSC_VER)
99
97
#define ATOMIC_USE_MSVC_INTRINSICS
100
98
#include "atomic_msvc.h"
101
-
#elif __cplusplus >= 201103L
102
-
#define ATOMIC_USE_CPP11_ATOMIC
103
99
#else
104
100
#error Unsupported compiler / system.
105
101
#endif
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4