aboutsummaryrefslogtreecommitdiffstats
path: root/pc/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'pc/config.h')
-rw-r--r--pc/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/pc/config.h b/pc/config.h
index c0295f16..76250eac 100644
--- a/pc/config.h
+++ b/pc/config.h
@@ -312,8 +312,13 @@
/* Define if you have the strerror function. */
#define HAVE_STRERROR 1
-/* Define if you have the strftime function. */
+#ifdef __MINGW32__
+/* Define if you have the strftime function. __MINGW32__ uses the
+ replacement from missing_d, to support the %e specifier. */
+#define strftime rpl_strftime
+#else
#define HAVE_STRFTIME 1
+#endif
/* Define if you have the strncasecmp function. */
#define HAVE_STRNCASECMP 1