aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-12-18 20:29:22 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-12-18 20:29:22 +0200
commitbd52c816f95a6aec471f194b94c2e195cf7f9988 (patch)
tree95afa5c273355441df78fdf1aeaa69d078945159 /awk.h
parentdd4d686a4181448171114d6fc6f4f8ae58394e16 (diff)
downloadegawk-bd52c816f95a6aec471f194b94c2e195cf7f9988.tar.gz
egawk-bd52c816f95a6aec471f194b94c2e195cf7f9988.tar.bz2
egawk-bd52c816f95a6aec471f194b94c2e195cf7f9988.zip
Cleanup the mainline PC code, and pc/ directory.
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/awk.h b/awk.h
index a9170d62..9721fdfd 100644
--- a/awk.h
+++ b/awk.h
@@ -72,7 +72,7 @@
#include <signal.h>
#include <time.h>
#include <errno.h>
-#if ! defined(errno) && ! defined(OS2)
+#if ! defined(errno)
extern int errno;
#endif
@@ -1367,7 +1367,7 @@ extern uintmax_t adjust_uint(uintmax_t n);
#define WEXITSTATUS(stat_val) (stat_val)
#else /* ! defined(VMS) */
#define WEXITSTATUS(stat_val) ((((unsigned) (stat_val)) >> 8) & 0xFF)
-#endif /* ! (defined(_MSC_VER) || defined(VMS)) */
+#endif /* ! defined(VMS)) */
#endif /* WEXITSTATUS */
/* EXIT_SUCCESS and EXIT_FAILURE normally come from <stdlib.h> */