aboutsummaryrefslogtreecommitdiffstats
path: root/pc/config.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:54:45 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:54:45 +0300
commitf20ab7c3039a4023f41372bfe4bde3b16d481df7 (patch)
tree4425de8c6177df655f165cb61d70d0acb5fdc968 /pc/config.h
parent6607eb3d5e40b98d2acc8f6b0d6a0b5a4b0f56bd (diff)
downloadegawk-f20ab7c3039a4023f41372bfe4bde3b16d481df7.tar.gz
egawk-f20ab7c3039a4023f41372bfe4bde3b16d481df7.tar.bz2
egawk-f20ab7c3039a4023f41372bfe4bde3b16d481df7.zip
Move to gawk-3.0.4.
Diffstat (limited to 'pc/config.h')
-rw-r--r--pc/config.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/pc/config.h b/pc/config.h
index 7140ac80..fa0abf51 100644
--- a/pc/config.h
+++ b/pc/config.h
@@ -5,7 +5,7 @@
*/
/*
- * Copyright (C) 1995-1997 the Free Software Foundation, Inc.
+ * Copyright (C) 1995-1999 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Progamming Language.
@@ -128,8 +128,8 @@
#define REGEX_MALLOC 1 /* use malloc instead of alloca in regex.c */
#define SPRINTF_RET int /* return type of sprintf */
-/* #define BITOPS 1 */ /* bitwise ops (undocumented feature) */
-/* #define NONDECDATA 1 */ /* non-decimal input data (undocumented feature) */
+/* #undef BITOPS */ /* bitwise ops (undocumented feature) */
+/* #undef NONDECDATA */ /* non-decimal input data (undocumented feature) */
/* Define if you have the fmod function. */
#define HAVE_FMOD 1
@@ -206,6 +206,12 @@ void * alloca(unsigned);
#endif
#endif
+# define HAVE_POPEN_H
+
+#if (defined(_MSC_VER) && defined(MSDOS)) || defined(__MINGW32__)
+# define system(s) os_system(s)
+#endif
+
#if defined (_MSC_VER) || defined(__EMX__)
#define strcasecmp stricmp
#define strncasecmp strnicmp
@@ -213,8 +219,19 @@ void * alloca(unsigned);
#if defined(DJGPP)
# define HAVE_LIMITS_H
+# undef HAVE_POPEN_H
#endif
#if defined(__WIN32__) && defined(__CRTRSXNT__)
#include <crtrsxnt.h>
#endif
+
+/* For vcWin32 */
+#if defined(WIN32) && defined(_MSC_VER)
+#define alloca _alloca
+#define system(s) os_system(s)
+#endif
+
+#if defined(__MINGW32__)
+#undef HAVE_SYS_PARAM_H
+#endif