diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-05-20 19:36:55 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-05-20 19:36:55 +0300 |
commit | 2f339225f817921e32f131f2ae163d367f62f564 (patch) | |
tree | a053e5057f3dd62545bb170e9ad6584423fdc103 /extension/gawkdirfd.h | |
parent | 403350c2b25551c749e2310556ba2f63e271042b (diff) | |
download | egawk-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.h | 4 |
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 |