aboutsummaryrefslogtreecommitdiffstats
path: root/extension/gawkdirfd.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-05-20 19:36:55 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-05-20 19:36:55 +0300
commit2f339225f817921e32f131f2ae163d367f62f564 (patch)
treea053e5057f3dd62545bb170e9ad6584423fdc103 /extension/gawkdirfd.h
parent403350c2b25551c749e2310556ba2f63e271042b (diff)
downloadegawk-2f339225f817921e32f131f2ae163d367f62f564.tar.gz
egawk-2f339225f817921e32f131f2ae163d367f62f564.tar.bz2
egawk-2f339225f817921e32f131f2ae163d367f62f564.zip
Move FAKE_FD_VALUE out of gawkapi.h.
Diffstat (limited to 'extension/gawkdirfd.h')
-rw-r--r--extension/gawkdirfd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/extension/gawkdirfd.h b/extension/gawkdirfd.h
index e75f9bce..52b91804 100644
--- a/extension/gawkdirfd.h
+++ b/extension/gawkdirfd.h
@@ -39,3 +39,7 @@ dirfd (DIR *dir_p)
return fd;
}
#endif /* HAVE_DIRFD */
+
+/* This is for fake directory file descriptors on systems that don't
+ allow to open() a directory. */
+#define FAKE_FD_VALUE 42