diff options
author | sanine <sanine.not@pm.me> | 2022-08-27 23:52:56 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-08-27 23:52:56 -0500 |
commit | a4dd0ad63c00f4dee3b86dfd3075d1d61b2b3180 (patch) | |
tree | 13bd5bfa15e6fea2a12f176bae79adf9c6fd0933 /3rdparty/plibsys/src/plibsysconfig.h.in | |
parent | bde3e4f1bb7b8f8abca0884a7d994ee1c17a66b1 (diff) |
add plibsys
Diffstat (limited to '3rdparty/plibsys/src/plibsysconfig.h.in')
-rw-r--r-- | 3rdparty/plibsys/src/plibsysconfig.h.in | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/3rdparty/plibsys/src/plibsysconfig.h.in b/3rdparty/plibsys/src/plibsysconfig.h.in new file mode 100644 index 0000000..db06020 --- /dev/null +++ b/3rdparty/plibsys/src/plibsysconfig.h.in @@ -0,0 +1,76 @@ +#ifndef PLIBSYS_HEADER_PLIBSYSCONFIG_H +#define PLIBSYS_HEADER_PLIBSYSCONFIG_H + +#define PLIBSYS_VERSION_MAJOR @PLIBSYS_VERSION_MAJOR@ +#define PLIBSYS_VERSION_MINOR @PLIBSYS_VERSION_MINOR@ +#define PLIBSYS_VERSION_PATCH @PLIBSYS_VERSION_PATCH@ +#define PLIBSYS_VERSION_STR "@PLIBSYS_VERSION@" +#define PLIBSYS_VERSION @PLIBSYS_VERSION_NUM@ + +#cmakedefine PLIBSYS_NEED_WINDOWS_H +#cmakedefine PLIBSYS_NEED_FLOAT_H +#cmakedefine PLIBSYS_NEED_LIMITS_H +#cmakedefine PLIBSYS_NEED_VALUES_H +#cmakedefine PLIBSYS_NEED_PTHREAD_NP_H +#cmakedefine PLIBSYS_IS_BIGENDIAN +#cmakedefine PLIBSYS_SIZEOF_SAFAMILY_T @PLIBSYS_SIZEOF_SAFAMILY_T@ +#cmakedefine PLIBSYS_VA_COPY @PLIBSYS_VA_COPY@ + +#define PLIBSYS_NTDDI_VERSION_FROM_WIN32_WINNT2(ver) ver##0000 +#define PLIBSYS_NTDDI_VERSION_FROM_WIN32_WINNT(ver) PLIBSYS_NTDDI_VERSION_FROM_WIN32_WINNT2(ver) + +#ifdef PLIBSYS_NEED_WINDOWS_H +# ifndef _WIN32_WINNT +# define _WIN32_WINNT 0x501 +# endif +# ifndef NTDDI_VERSION +# define NTDDI_VERSION PLIBSYS_NTDDI_VERSION_FROM_WIN32_WINNT(_WIN32_WINNT) +# endif +# include <winsock2.h> +# include <ws2tcpip.h> +# include <windows.h> +#endif + +#include <pmacros.h> + +#ifdef PLIBSYS_NEED_FLOAT_H +# include <float.h> +#endif + +#ifdef PLIBSYS_NEED_LIMITS_H +# include <limits.h> +#endif + +#ifdef PLIBSYS_NEED_VALUES_H +# include <values.h> +#endif + +P_BEGIN_DECLS + +#define P_MINFLOAT @PLIBSYS_FLOAT_MIN@ +#define P_MAXFLOAT @PLIBSYS_FLOAT_MAX@ +#define P_MINDOUBLE @PLIBSYS_DOUBLE_MIN@ +#define P_MAXDOUBLE @PLIBSYS_DOUBLE_MAX@ +#define P_MINSHORT @PLIBSYS_SHORT_MIN@ +#define P_MAXSHORT @PLIBSYS_SHORT_MAX@ +#define P_MAXUSHORT @PLIBSYS_USHORT_MAX@ +#define P_MININT @PLIBSYS_INT_MIN@ +#define P_MAXINT @PLIBSYS_INT_MAX@ +#define P_MAXUINT @PLIBSYS_UINT_MAX@ +#define P_MINLONG @PLIBSYS_LONG_MIN@ +#define P_MAXLONG @PLIBSYS_LONG_MAX@ +#define P_MAXULONG @PLIBSYS_ULONG_MAX@ + +@PLIBSYS_SIZEOF_VOID_P_CODE@ +@PLIBSYS_SIZEOF_SIZE_T_CODE@ +@PLIBSYS_SIZEOF_LONG_CODE@ + +#ifdef PLIBSYS_IS_BIGENDIAN +# define P_BYTE_ORDER P_BIG_ENDIAN +#else +# define P_BYTE_ORDER P_LITTLE_ENDIAN +#endif + +P_END_DECLS + +#endif /* PLIBSYS_HEADER_PLIBSYSCONFIG_H */ |