aboutsummaryrefslogtreecommitdiffstats
path: root/pc/config.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 13:22:00 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 13:22:00 +0300
commit6cc7d587a710606d3fe52222707739c7cc1b8651 (patch)
tree2b6360852d8f966bd83eeb6efd8af90f8e9b83f9 /pc/config.h
parente888f1834b88270590b7e04d64c03c75863e4565 (diff)
downloadegawk-6cc7d587a710606d3fe52222707739c7cc1b8651.tar.gz
egawk-6cc7d587a710606d3fe52222707739c7cc1b8651.tar.bz2
egawk-6cc7d587a710606d3fe52222707739c7cc1b8651.zip
Move to gawk-3.1.3.
Diffstat (limited to 'pc/config.h')
-rw-r--r--pc/config.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/pc/config.h b/pc/config.h
index 1048ecba..01893676 100644
--- a/pc/config.h
+++ b/pc/config.h
@@ -340,13 +340,14 @@
# define HAVE_POPEN_H
-/* #if defined (_MSC_VER) */
-#define ssize_t long int
-/* #endif */
-
+#if defined(_MSC_VER) && defined(MSDOS)
+#define system(s) os_system(s)
+#endif
-#if (defined(_MSC_VER) && defined(MSDOS)) || defined(__MINGW32__)
-# define system(s) os_system(s)
+#if defined(_MSC_VER) || defined(__MINGW32__)
+#define ssize_t long int /* DJGPP has ssize_t */
+#define intmax_t long
+#define uintmax_t unsigned long
#endif
#if defined (_MSC_VER) || defined(__EMX__)
@@ -357,6 +358,8 @@
#if defined(DJGPP)
# define HAVE_LIMITS_H 1
# undef HAVE_POPEN_H
+#define intmax_t long long
+#define uintmax_t unsigned long long
#endif
#if defined(__WIN32__) && defined(__CRTRSXNT__)
@@ -372,3 +375,6 @@
#if defined(__MINGW32__)
#undef HAVE_SYS_PARAM_H
#endif
+
+
+/* #define NO_LINT 1 */