aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-07-24 21:53:56 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-07-24 21:53:56 +0300
commitb8b8ab0e46aaa2725259bb5788261464cb851120 (patch)
treec38e5520a6d4b8d34fc2cce98c8c9aa3eccc9814 /awk.h
parent2377ea235bd13f0327bdd4b2195958ce504dbd19 (diff)
parent0981cc089ea88f146a6c949146e73f88c1b295e9 (diff)
downloadegawk-b8b8ab0e46aaa2725259bb5788261464cb851120.tar.gz
egawk-b8b8ab0e46aaa2725259bb5788261464cb851120.tar.bz2
egawk-b8b8ab0e46aaa2725259bb5788261464cb851120.zip
Merge branch 'gawk-4.1-stable'
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))