File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -649,6 +649,12 @@ int omp_get_num_procs(void);
649649__declspec(dllimport ) int __cdecl omp_in_parallel (void );
650650__declspec(dllimport ) int __cdecl omp_get_num_procs (void );
651651#endif
652+ #if (__STDC_VERSION__ >= 201112L )
653+ #ifndef _Atomic
654+ #define _Atomic volatile
655+ #endif
656+ #include <stdatomic.h>
657+ #endif
652658#else
653659#ifdef __ELF__
654660int omp_in_parallel (void ) __attribute__ ((weak ));
Original file line number Diff line number Diff line change 3636/* or implied, of The University of Texas at Austin. */
3737/*********************************************************************/
3838
39- #if __STDC_VERSION__ >= 201112L
40- #ifndef _Atomic
41- #define _Atomic volatile
42- #endif
43- #include <stdatomic.h>
44- #endif
4539#include <stdbool.h>
4640#include <stdio.h>
4741#include <stdlib.h>
You can’t perform that action at this time.
0 commit comments