diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-07-24 21:53:30 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-07-24 21:53:30 +0300 |
commit | 0981cc089ea88f146a6c949146e73f88c1b295e9 (patch) | |
tree | c38e5520a6d4b8d34fc2cce98c8c9aa3eccc9814 /awk.h | |
parent | 893f4e3b9bf37cbfd4222970b0bc472e7e6f11d9 (diff) | |
download | egawk-0981cc089ea88f146a6c949146e73f88c1b295e9.tar.gz egawk-0981cc089ea88f146a6c949146e73f88c1b295e9.tar.bz2 egawk-0981cc089ea88f146a6c949146e73f88c1b295e9.zip |
Fix compiling on MinGW.
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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)) |