From 0981cc089ea88f146a6c949146e73f88c1b295e9 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 24 Jul 2013 21:53:30 +0300 Subject: Fix compiling on MinGW. --- awk.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'awk.h') 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)) -- cgit v1.2.3