aboutsummaryrefslogtreecommitdiffstats
path: root/extension/gawkdirfd.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-03-24 15:17:54 +0200
committerArnold D. Robbins <arnold@skeeve.com>2013-03-24 15:17:54 +0200
commit25178eae557724b85b3ff0cdc296a897c5fc4350 (patch)
tree0a64de7a97dfc03d52fde91b824dadc2f4f93a76 /extension/gawkdirfd.h
parentde74132cd8ee9d3a54c7661f15d787e0b232d328 (diff)
downloadegawk-25178eae557724b85b3ff0cdc296a897c5fc4350.tar.gz
egawk-25178eae557724b85b3ff0cdc296a897c5fc4350.tar.bz2
egawk-25178eae557724b85b3ff0cdc296a897c5fc4350.zip
More portability: mostly for SGI IRIX.
Diffstat (limited to 'extension/gawkdirfd.h')
-rw-r--r--extension/gawkdirfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/gawkdirfd.h b/extension/gawkdirfd.h
index 249a0641..1fbd6f57 100644
--- a/extension/gawkdirfd.h
+++ b/extension/gawkdirfd.h
@@ -21,7 +21,7 @@
#include <config.h>
-#if !defined(HAVE_DIRFD) && !defined(HAVE_DECL_DIRFD)
+#if !defined(HAVE_DIRFD) && (!defined(HAVE_DECL_DIRFD) || HAVE_DECL_DIRFD == 0)
int
dirfd (DIR *dir_p)
{