Update conditional for C11 atomics to use HAVE_C11
This commit is contained in:
parent
ce45af8151
commit
a36eb19ae0
2
common.h
2
common.h
|
@ -681,7 +681,7 @@ __declspec(dllimport) int __cdecl omp_in_parallel(void);
|
||||||
__declspec(dllimport) int __cdecl omp_get_num_procs(void);
|
__declspec(dllimport) int __cdecl omp_get_num_procs(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (__STDC_VERSION__ >= 201112L)
|
#ifdef HAVE_C11
|
||||||
#if defined(C_GCC) && ( __GNUC__ < 7)
|
#if defined(C_GCC) && ( __GNUC__ < 7)
|
||||||
// workaround for GCC bug 65467
|
// workaround for GCC bug 65467
|
||||||
#ifndef _Atomic
|
#ifndef _Atomic
|
||||||
|
|
Loading…
Reference in New Issue