summaryrefslogtreecommitdiff
path: root/gawkmisc.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-02-13 20:30:03 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-02-13 20:30:03 +0200
commit32086b1f52a9978db1e8168b56a312e76afcf5ab (patch)
treede490c1c7d47bcbc6428d622957240679483d6b6 /gawkmisc.c
parent6bfbae33e99c401f89a4d650ea7958bbdebd362e (diff)
downloadgawk-32086b1f52a9978db1e8168b56a312e76afcf5ab.tar.gz
PC fixes for portability and dependencies.
Diffstat (limited to 'gawkmisc.c')
-rw-r--r--gawkmisc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gawkmisc.c b/gawkmisc.c
index ba37fc2b..7a91e364 100644
--- a/gawkmisc.c
+++ b/gawkmisc.c
@@ -32,11 +32,8 @@
/* some old compilers don't grok #elif. sigh */
-#ifdef __EMX__
+#if defined(__EMX__) || defined(__DJGPP__) || defined(__MINGW32__)
#include "pc/gawkmisc.pc"
-#else /* not __EMX__ */
-#if defined(__DJGPP__) || defined(__MINGW32__)
-#include "gawkmisc.pc"
#else /* not __DJGPP__, not __MINGW32__ */
#if defined(VMS)
#include "vms/gawkmisc.vms"
@@ -44,7 +41,6 @@
#include "posix/gawkmisc.c"
#endif /* not VMS */
#endif /* not __DJGPP__, not __MINGW32__ */
-#endif /* not __EMX__ */
/* xmalloc --- provide this so that other GNU library routines work */