Fix _Atomic definition

This commit is contained in:
Yann Diorcet 2018-06-04 10:01:10 +02:00
parent fc66a0ec0b
commit 30cf64638a
1 changed files with 1 additions and 1 deletions

View File

@ -651,7 +651,7 @@ __declspec(dllimport) int __cdecl omp_get_num_procs(void);
#endif
#if (__STDC_VERSION__ >= 201112L)
#ifndef _Atomic
#define _Atomic volatile
#define _Atomic(x) volatile x
#endif
#include <stdatomic.h>
#endif