Skip to content

Commit f46130c

Browse files
committed
OSHMEM: Let pshmem.h include shmem.h to be stand-alone again
See #6093 Signed-off-by: Bert Wesarg <bert.wesarg@tu-dresden.de>
1 parent 52c455f commit f46130c

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

oshmem/include/pshmem.h

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,7 @@
1414
#ifndef PSHMEM_SHMEM_H
1515
#define PSHMEM_SHMEM_H
1616

17-
18-
#include <stddef.h> /* include for ptrdiff_t */
19-
#include <stdint.h> /* include for fixed width types */
20-
#if defined(c_plusplus) || defined(__cplusplus)
21-
# include <complex>
22-
# define OSHMEM_COMPLEX_TYPE(type) std::complex<type>
23-
#else
24-
# include <complex.h>
25-
# define OSHMEM_COMPLEX_TYPE(type) type complex
26-
#endif
27-
28-
29-
#ifndef OSHMEM_DECLSPEC
30-
# if defined(OPAL_C_HAVE_VISIBILITY) && (OPAL_C_HAVE_VISIBILITY == 1)
31-
# define OSHMEM_DECLSPEC __attribute__((visibility("default")))
32-
# else
33-
# define OSHMEM_DECLSPEC
34-
# endif
35-
#endif
36-
37-
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
38-
#define OSHMEMP_HAVE_C11 1
39-
#else
40-
#define OSHMEMP_HAVE_C11 0
41-
#endif
42-
17+
#include <shmem.h>
4318
#include <pshmemx.h>
4419

4520
#if defined(c_plusplus) || defined(__cplusplus)

0 commit comments

Comments
 (0)