Skip to content

Commit caa1d17

Browse files
committed
OSHMEM: fixes compiler warnings
1 parent 9a21392 commit caa1d17

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

oshmem/include/pshmem.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636

3737
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
3838
#define OSHMEMP_HAVE_C11 1
39+
#else
40+
#define OSHMEMP_HAVE_C11 0
3941
#endif
4042

4143
#include <pshmemx.h>

oshmem/include/shmem.h.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343

4444
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
4545
#define OSHMEM_HAVE_C11 1
46+
#else
47+
#define OSHMEM_HAVE_C11 0
4648
#endif
4749

4850
#include <shmem-compat.h>

0 commit comments

Comments
 (0)