File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,15 +47,15 @@ enum bson_memory_order {
47
47
#define MSVC_MEMORDER_SUFFIX (X )
48
48
#endif
49
49
50
- #if defined(USE_LEGACY_GCC_ATOMICS ) || (!defined( __clang__ ) && \
51
- __GNUC__ == 4 && __GNUC_MINOR__ >= 1 && __GNUC_MINOR__ < 9 )
50
+ #if defined(USE_LEGACY_GCC_ATOMICS ) || \
51
+ (!defined( __clang__ ) && __GNUC__ == 4 )
52
52
#define BSON_USE_LEGACY_GCC_ATOMICS
53
53
#else
54
54
#undef BSON_USE_LEGACY_GCC_ATOMICS
55
55
#endif
56
56
57
57
/* Not all GCC-like compilers support the current __atomic built-ins. Older
58
- * GCC (pre-4.9 ) used different built-ins named with the __sync prefix. When
58
+ * GCC (pre-5 ) used different built-ins named with the __sync prefix. When
59
59
* compiling with such older GCC versions, it is necessary to use the applicable
60
60
* functions, which requires redefining BSON_IF_GNU_LIKE and defining the
61
61
* additional BSON_IF_GNU_LEGACY_ATOMICS macro here. */
You can’t perform that action at this time.
0 commit comments