summaryrefslogtreecommitdiff
path: root/replace.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-11-29 22:03:40 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-11-29 22:03:40 +0200
commitda212ddb7ed3f4578f1c83d9e0e472245efbea1e (patch)
tree325d01bb8203e5ea4bd70ff06faffbf21cb93beb /replace.c
parent28436897d3289b4fe1b7e84e63c9cffecfcb17f6 (diff)
downloadgawk-da212ddb7ed3f4578f1c83d9e0e472245efbea1e.tar.gz
Doc updates. Strftime fix for PC. Check ranges in REs.
Diffstat (limited to 'replace.c')
-rw-r--r--replace.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/replace.c b/replace.c
index 8ff74a87..2b8357a5 100644
--- a/replace.c
+++ b/replace.c
@@ -60,7 +60,14 @@
#endif /* HAVE_STRERROR */
#ifndef HAVE_STRFTIME
+# ifdef __MINGW32__
+/* Need to use underlying_strftime in replacement strftime. */
+# define HAVE_STRFTIME 1
+# endif
#include "missing_d/strftime.c"
+# ifdef __MINGW32__
+# undef HAVE_STRFTIME
+# endif
#endif /* HAVE_STRFTIME */
#ifndef HAVE_STRCHR