From caa1d1767216edb55d0bf6f6f7cff484afb89755 Mon Sep 17 00:00:00 2001 From: Alex Mikheev Date: Sun, 25 Sep 2016 18:09:49 +0300 Subject: [PATCH] OSHMEM: fixes compiler warnings --- oshmem/include/pshmem.h | 2 ++ oshmem/include/shmem.h.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/oshmem/include/pshmem.h b/oshmem/include/pshmem.h index 747c17945d..cef4e9d204 100644 --- a/oshmem/include/pshmem.h +++ b/oshmem/include/pshmem.h @@ -36,6 +36,8 @@ #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) #define OSHMEMP_HAVE_C11 1 +#else +#define OSHMEMP_HAVE_C11 0 #endif #include diff --git a/oshmem/include/shmem.h.in b/oshmem/include/shmem.h.in index 3a37746e76..ddeaab34d3 100644 --- a/oshmem/include/shmem.h.in +++ b/oshmem/include/shmem.h.in @@ -43,6 +43,8 @@ #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) #define OSHMEM_HAVE_C11 1 +#else +#define OSHMEM_HAVE_C11 0 #endif #include