aboutsummaryrefslogtreecommitdiffstats
path: root/pc/config.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2019-02-07 06:34:04 +0200
committerArnold D. Robbins <arnold@skeeve.com>2019-02-07 06:34:04 +0200
commitc5c41a1f9918e746c0bfaf88876368fbe6059911 (patch)
treef89280482cce66fd132547f01d065d661b7381f4 /pc/config.h
parent026717432f985355f7cf5b563ca1dfbb3cd40706 (diff)
downloadegawk-c5c41a1f9918e746c0bfaf88876368fbe6059911.tar.gz
egawk-c5c41a1f9918e746c0bfaf88876368fbe6059911.tar.bz2
egawk-c5c41a1f9918e746c0bfaf88876368fbe6059911.zip
Updates for DJGPP.
Diffstat (limited to 'pc/config.h')
-rw-r--r--pc/config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/pc/config.h b/pc/config.h
index d347279e..55401d50 100644
--- a/pc/config.h
+++ b/pc/config.h
@@ -115,7 +115,7 @@
#endif
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
-#ifdef __MINGW32__
+#if defined(__DJGPP__) || defined(__MINGW32__)
#define HAVE_LANGINFO_CODESET 1
#endif
@@ -502,7 +502,7 @@
#undef USE_EBCDIC
/* This is required to compile Gnulib regex code. */
-#ifdef __MINGW32__
+#if defined(__DJGPP__) || defined(__MINGW32__)
#define _GNU_SOURCE 1
#endif
/* Enable extensions on AIX 3, Interix. */
@@ -631,6 +631,10 @@
# else
# define DEFPATH ".;c:/lib/awk;c:/gnu/lib/awk"
# endif
+
+/* Function prototype. */
+#include <stdbool.h>
+extern bool is_valid_identifier(const char *name);
#endif
#ifndef __DJGPP__