Go to the documentation of this file.
13 #if defined(_WIN32) || defined(_MSC_VER) || defined(__CYGWIN__)
16 # define P1_EXPORT __attribute__((dllexport))
18 # define P1_EXPORT __declspec(dllexport)
22 # define P1_EXPORT __attribute__((dllimport))
24 # define P1_EXPORT __declspec(dllimport)
30 # define P1_EXPORT __attribute__((visibility("default")))
31 # define P1_HIDDEN __attribute__((visibility("hidden")))
41 #elif defined(_MSC_VER)
44 # include <sys/types.h>
50 #ifndef P1_HAVE_MULTILINE_CONSTEXPR_FUNC
51 # define P1_HAVE_MULTILINE_CONSTEXPR_FUNC (__cplusplus >= 201402L)
54 #ifndef P1_CONSTEXPR_FUNC
55 # if P1_HAVE_MULTILINE_CONSTEXPR_FUNC
56 # define P1_CONSTEXPR_FUNC constexpr
58 # define P1_CONSTEXPR_FUNC inline