aboutsummaryrefslogtreecommitdiffstats
path: root/pc/config.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 14:52:31 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 14:52:31 +0300
commit3ba50a15ebd976f7a88393e2e45dc14b6478b9a9 (patch)
tree6a6bbe6bed1141051fefe94b2d39eacd4854235a /pc/config.h
parent6a2caf2157d87b4b582b2494bdd7d6a688dd0b1f (diff)
downloadegawk-3ba50a15ebd976f7a88393e2e45dc14b6478b9a9.tar.gz
egawk-3ba50a15ebd976f7a88393e2e45dc14b6478b9a9.tar.bz2
egawk-3ba50a15ebd976f7a88393e2e45dc14b6478b9a9.zip
Move to gawk-3.1.7.
Diffstat (limited to 'pc/config.h')
-rw-r--r--pc/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pc/config.h b/pc/config.h
index 0ea25224..5791de4e 100644
--- a/pc/config.h
+++ b/pc/config.h
@@ -552,5 +552,8 @@
#undef HAVE_SYS_PARAM_H
#endif
+#if defined(_MSC_VER) || defined(__MINGW32__)
+# define WEXITSTATUS(stat_val) ((stat_val) & ~0xC0000000)
+#endif
/* #define NO_LINT 1 */