summaryrefslogtreecommitdiff
path: root/3rdparty/plibsys/src/plibsysconfig.h.in
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/plibsys/src/plibsysconfig.h.in')
-rw-r--r--3rdparty/plibsys/src/plibsysconfig.h.in76
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 */