File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -649,6 +649,12 @@ int omp_get_num_procs(void);
649
649
__declspec(dllimport ) int __cdecl omp_in_parallel (void );
650
650
__declspec(dllimport ) int __cdecl omp_get_num_procs (void );
651
651
#endif
652
+ #if (__STDC_VERSION__ >= 201112L )
653
+ #ifndef _Atomic
654
+ #define _Atomic volatile
655
+ #endif
656
+ #include <stdatomic.h>
657
+ #endif
652
658
#else
653
659
#ifdef __ELF__
654
660
int omp_in_parallel (void ) __attribute__ ((weak ));
Original file line number Diff line number Diff line change 36
36
/* or implied, of The University of Texas at Austin. */
37
37
/*********************************************************************/
38
38
39
- #if __STDC_VERSION__ >= 201112L
40
- #ifndef _Atomic
41
- #define _Atomic volatile
42
- #endif
43
- #include <stdatomic.h>
44
- #endif
45
39
#include <stdbool.h>
46
40
#include <stdio.h>
47
41
#include <stdlib.h>
You can’t perform that action at this time.
0 commit comments