summaryrefslogtreecommitdiff
path: root/support/dktools/dk3conf.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-09-20 03:03:26 +0000
committerNorbert Preining <norbert@preining.info>2020-09-20 03:03:26 +0000
commit1f457376b478257b88d4a857f5ec1b6155442dd7 (patch)
tree2a06a60551dea362cf8cb0cb0ba66c78608717c4 /support/dktools/dk3conf.h
parentac690ca29ad5bf8a5203a65fd6252f7b564f4727 (diff)
CTAN sync 202009200303
Diffstat (limited to 'support/dktools/dk3conf.h')
-rw-r--r--support/dktools/dk3conf.h124
1 files changed, 118 insertions, 6 deletions
diff --git a/support/dktools/dk3conf.h b/support/dktools/dk3conf.h
index 660e76fd09..21837a963c 100644
--- a/support/dktools/dk3conf.h
+++ b/support/dktools/dk3conf.h
@@ -8,7 +8,7 @@
#define DK3_CONF_H_INCLUDED 1
#ifndef DK3_ON_WINDOWS
-#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
+#if _WIN32
/** On a Windows system. */
#define DK3_ON_WINDOWS 1
#else
@@ -585,16 +585,82 @@
#endif
#ifndef DK3_HAVE_ISFINITE
+#if (defined(_MSC_VER)) && (_MSC_VER >= 1800)
+/** DK3 version of HAVE_ISFINITE.
+*/
+#define DK3_HAVE_ISFINITE 1
+#else
/** DK3 version of HAVE_ISFINITE.
*/
#define DK3_HAVE_ISFINITE 0
#endif
+#endif
+
+#ifndef DK3_HAVE__FINITE
+/** DK3 version of HAVE__FINITE.
+*/
+#define DK3_HAVE__FINITE 1
+#endif
#ifndef DK3_HAVE_ISNORMAL
+#if (defined(_MSC_VER)) && (_MSC_VER >= 1800)
+/** DK3 version of HAVE_ISNORMAL.
+*/
+#define DK3_HAVE_ISNORMAL 1
+#else
/** DK3 version of HAVE_ISNORMAL.
*/
#define DK3_HAVE_ISNORMAL 0
#endif
+#endif
+
+#ifndef DK3_HAVE_ISGREATEREQUAL
+#if (defined(_MSC_VER)) && (_MSC_VER >= 1800)
+/** DK3 version of HAVE_ISGREATEREQUAL.
+*/
+#define DK3_HAVE_ISGREATEREQUAL 1
+#else
+/** DK3 version of HAVE_ISGREATEREQUAL.
+*/
+#define DK3_HAVE_ISGREATEREQUAL 0
+#endif
+#endif
+
+#ifndef DK3_HAVE_ISGREATER
+#if (defined(_MSC_VER)) && (_MSC_VER >= 1800)
+/** DK3 version of HAVE_ISGREATER.
+*/
+#define DK3_HAVE_ISGREATER 1
+#else
+/** DK3 version of HAVE_ISGREATER.
+*/
+#define DK3_HAVE_ISGREATER 0
+#endif
+#endif
+
+#ifndef DK3_HAVE_ISLESSEQUAL
+#if (defined(_MSC_VER)) && (_MSC_VER >= 1800)
+/** DK3 version of HAVE_ISLESSEQUAL.
+*/
+#define DK3_HAVE_ISLESSEQUAL 1
+#else
+/** DK3 version of HAVE_ISLESSEQUAL.
+*/
+#define DK3_HAVE_ISLESSEQUAL 0
+#endif
+#endif
+
+#ifndef DK3_HAVE_ISLESS
+#if (defined(_MSC_VER)) && (_MSC_VER >= 1800)
+/** DK3 version of HAVE_ISLESS.
+*/
+#define DK3_HAVE_ISLESS 0
+#else
+/** DK3 version of HAVE_ISLESS.
+*/
+#define DK3_HAVE_ISLESS 0
+#endif
+#endif
#ifndef DK3_HAVE_LABS
/** DK3 version of HAVE_LABS.
@@ -1510,6 +1576,7 @@
#ifndef DK3_HAVE_TWOS_COMPLEMENT
/** DK3 version of HAVE_TWOS_COMPLEMENT.
+CROSS-COMPILE: Correct if necessary.
*/
#define DK3_HAVE_TWOS_COMPLEMENT 1
#endif
@@ -2632,6 +2699,7 @@
#ifndef DK3_HAVE_IEEE_754_DOUBLE
/** DK3 version of HAVE_IEEE_754_DOUBLE.
+CROSS-COMPILE: Correct if necessary.
*/
#define DK3_HAVE_IEEE_754_DOUBLE 1
#endif
@@ -2669,7 +2737,7 @@
#ifndef DK3_HAVE_INODES
/** DK3 version of HAVE_INODES.
*/
-#define DK3_HAVE_INODES 1
+#define DK3_HAVE_INODES 0
#endif
#ifndef DK3_HAVE_INTMAX_T
@@ -2708,12 +2776,42 @@
#define DK3_HAVE_ISFINITE 1
#endif
+#ifndef DK3_HAVE__FINITE
+/** DK3 version of HAVE__FINITE.
+*/
+#define DK3_HAVE__FINITE 1
+#endif
+
#ifndef DK3_HAVE_ISNORMAL
/** DK3 version of HAVE_ISNORMAL.
*/
#define DK3_HAVE_ISNORMAL 1
#endif
+#ifndef DK3_HAVE_ISGREATEREQUAL
+/** DK3 version of HAVE_ISGREATEREQUAL.
+*/
+#define DK3_HAVE_ISGREATEREQUAL 1
+#endif
+
+#ifndef DK3_HAVE_ISGREATER
+/** DK3 version of HAVE_ISGREATER.
+*/
+#define DK3_HAVE_ISGREATER 1
+#endif
+
+#ifndef DK3_HAVE_ISLESSEQUAL
+/** DK3 version of HAVE_ISLESSEQUAL.
+*/
+#define DK3_HAVE_ISLESSEQUAL 1
+#endif
+
+#ifndef DK3_HAVE_ISLESS
+/** DK3 version of HAVE_ISLESS.
+*/
+#define DK3_HAVE_ISLESS 1
+#endif
+
#ifndef DK3_HAVE_JPEGLIB_H
/** DK3 version of HAVE_JPEGLIB_H.
*/
@@ -2729,7 +2827,7 @@
#ifndef DK3_HAVE_LARGEFILE64_SOURCE
/** DK3 version of HAVE_LARGEFILE64_SOURCE.
*/
-#define DK3_HAVE_LARGEFILE64_SOURCE 1
+#define DK3_HAVE_LARGEFILE64_SOURCE 0
#endif
#ifndef DK3_HAVE_LIBNETSNMP
@@ -2888,10 +2986,16 @@
#define DK3_HAVE_MYSQL_LIBRARY_INIT 0
#endif
+#ifndef DK3_HAVE_MARIADB_MYSQL_H
+/** DK3 version of HAVE_MARIADB_MYSQL_H.
+*/
+#define DK3_HAVE_MARIADB_MYSQL_H 1
+#endif
+
#ifndef DK3_HAVE_MYSQL_MYSQL_H
/** DK3 version of HAVE_MYSQL_MYSQL_H.
*/
-#define DK3_HAVE_MYSQL_MYSQL_H 1
+#define DK3_HAVE_MYSQL_MYSQL_H 0
#endif
#ifndef DK3_HAVE_MYSQL_H
@@ -2969,7 +3073,7 @@
#ifndef DK3_HAVE_PNG_GET_PIXELS_PER_INCH
/** DK3 version of HAVE_PNG_GET_PIXELS_PER_INCH.
*/
-#define DK3_HAVE_PNG_GET_PIXELS_PER_INCH 0
+#define DK3_HAVE_PNG_GET_PIXELS_PER_INCH 1
#endif
#ifndef DK3_HAVE_PNG_H
@@ -4151,7 +4255,7 @@
#ifndef DK3_HAVE_WX_CHARTYPE_H
/** DK3 version of HAVE_WX_CHARTYPE_H.
*/
-#define DK3_HAVE_WX_CHARTYPE_H 0
+#define DK3_HAVE_WX_CHARTYPE_H 1
#endif
#ifndef DK3_HAVE_WX_WXCHAR_H
@@ -4229,6 +4333,14 @@
#define DK3_MAX_PATH 4097
#endif
+#if DK3_HAVE_LARGEFILE64_SOURCE
+#ifndef _LARGEFILE64_SOURCE
+/** Use 64 bit file support.
+*/
+#define _LARGEFILE64_SOURCE 1
+#endif
+#endif
+
#endif
/* ifndef DK3_CONF_H_INCLUDED */