summaryrefslogtreecommitdiff
path: root/Source/cm_get_date.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cm_get_date.c')
-rw-r--r--Source/cm_get_date.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cm_get_date.c b/Source/cm_get_date.c
index 4bef80315..49f55772b 100644
--- a/Source/cm_get_date.c
+++ b/Source/cm_get_date.c
@@ -2,6 +2,10 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cm_get_date.h"
+// FIXME: This suppresses use of localtime_r because archive_getdate.c
+// depends the rest of libarchive's checks for that.
+#define CM_GET_DATE
+
#define __archive_get_date cm_get_date
#include "../Utilities/cmlibarchive/libarchive/archive_getdate.c"