aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-08-20 21:18:51 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-08-20 21:18:51 +0300
commit844e16cea1ffe0e02b5b727fd8960271d1842020 (patch)
tree4f88f1265121a6a471310f9f8a7b8abba3cf92e2 /awk.h
parent933d15a9646fd550ad923005667d7014ef1cff97 (diff)
downloadegawk-844e16cea1ffe0e02b5b727fd8960271d1842020.tar.gz
egawk-844e16cea1ffe0e02b5b727fd8960271d1842020.tar.bz2
egawk-844e16cea1ffe0e02b5b727fd8960271d1842020.zip
Move FAKE_FD_VALUE to shared header.
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/awk.h b/awk.h
index e01726d9..bb2f2054 100644
--- a/awk.h
+++ b/awk.h
@@ -206,11 +206,9 @@ typedef void *stackoverflow_context_t;
#define stackoverflow_install_handler(catchstackoverflow, extra_stack, STACK_SIZE) 0
#endif
-/*
- * This is for fake directory file descriptors on systems that don't
- * allow to open() a directory.
- */
-#define FAKE_FD_VALUE 42
+#if defined(__EMX__) || defined(__MINGW32__)
+#include "nonposix.h"
+#endif /* defined(__EMX__) || defined(__MINGW32__) */
/* use this as lintwarn("...")
this is a hack but it gives us the right semantics */