summaryrefslogtreecommitdiff
path: root/build/cmake
diff options
context:
space:
mode:
authorMartin Matuska <martin@matuska.org>2020-01-13 14:23:00 +0100
committerMartin Matuska <martin@matuska.org>2020-01-13 16:16:13 +0100
commita11f15860ae39ecdc8173243a211cdafc8ac893c (patch)
tree0c49b30b9e9f1bbda11a24033b1f7161562846d2 /build/cmake
parentbdea136855bf7d7cb42cc90c6fbe0c1b4719859d (diff)
downloadlibarchive-a11f15860ae39ecdc8173243a211cdafc8ac893c.tar.gz
Windows: use _localtime64_s and _gmtime64_s where appropriate
Diffstat (limited to 'build/cmake')
-rw-r--r--build/cmake/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/cmake/config.h.in b/build/cmake/config.h.in
index 3b1f0b95..fcbd80c5 100644
--- a/build/cmake/config.h.in
+++ b/build/cmake/config.h.in
@@ -1210,6 +1210,9 @@ typedef uint64_t uintmax_t;
/* Define to 1 if you have the `_get_timezone' function. */
#cmakedefine HAVE__GET_TIMEZONE 1
+/* Define to 1 if you have the `_gmtime64_s' function. */
+#cmakedefine HAVE__GMTIME64_S 1
+
/* Define to 1 if you have the `_localtime64_s' function. */
#cmakedefine HAVE__LOCALTIME64_S 1