aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-08-14 00:06:55 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-08-14 00:06:55 +0300
commitc4300d657ba49db0b6d0f0884f41a29622edc58b (patch)
treea49e5590dab96979293e3c16455d9f305d9ce738 /awk.h
parent69b59a73db108ede65e4dfce90fcfb10723e1feb (diff)
parent15a922b8a62092fab8b0e9b9fa06c3182b38b596 (diff)
downloadegawk-c4300d657ba49db0b6d0f0884f41a29622edc58b.tar.gz
egawk-c4300d657ba49db0b6d0f0884f41a29622edc58b.tar.bz2
egawk-c4300d657ba49db0b6d0f0884f41a29622edc58b.zip
Merge branch 'master' into select
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 7ca401a5..f8696179 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))