aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-07-24 21:53:30 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-07-24 21:53:30 +0300
commit0981cc089ea88f146a6c949146e73f88c1b295e9 (patch)
treec38e5520a6d4b8d34fc2cce98c8c9aa3eccc9814 /awk.h
parent893f4e3b9bf37cbfd4222970b0bc472e7e6f11d9 (diff)
downloadegawk-0981cc089ea88f146a6c949146e73f88c1b295e9.tar.gz
egawk-0981cc089ea88f146a6c949146e73f88c1b295e9.tar.bz2
egawk-0981cc089ea88f146a6c949146e73f88c1b295e9.zip
Fix compiling on MinGW.
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/awk.h b/awk.h
index b9d3a1b0..e01726d9 100644
--- a/awk.h
+++ b/awk.h
@@ -206,6 +206,12 @@ 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
+
/* use this as lintwarn("...")
this is a hack but it gives us the right semantics */
#define lintwarn (*(set_loc(__FILE__, __LINE__),lintfunc))