Update conditional for atomics to use HAVE_C11

This commit is contained in:
Martin Kroeker
2020-07-18 17:14:50 +00:00
committed by GitHub
parent a36eb19ae0
commit f4f74941bd
+1 -1
View File
@@ -68,7 +68,7 @@ double sqrt(double);
#define GETRF_FACTOR 1.00
#if (__STDC_VERSION__ >= 201112L)
#ifdef HAVE_C11
#define atomic_load_long(p) __atomic_load_n(p, __ATOMIC_RELAXED)
#define atomic_store_long(p, v) __atomic_store_n(p, v, __ATOMIC_RELAXED)
#else