aboutsummaryrefslogtreecommitdiffstats
path: root/extension
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
parentde74132cd8ee9d3a54c7661f15d787e0b232d328 (diff)
downloadegawk-25178eae557724b85b3ff0cdc296a897c5fc4350.tar.gz
egawk-25178eae557724b85b3ff0cdc296a897c5fc4350.tar.bz2
egawk-25178eae557724b85b3ff0cdc296a897c5fc4350.zip
More portability: mostly for SGI IRIX.
Diffstat (limited to 'extension')
-rw-r--r--extension/ChangeLog5
-rw-r--r--extension/gawkdirfd.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog
index 6704ec30..ef1aa4d3 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-24 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawkdirfd.h: Improve test for doing own dirfd function. Needed
+ for IRIX.
+
2013-03-20 Arnold D. Robbins <arnold@skeeve.com>
* configure.ac: Add AC_OUTPUT_COMMANDS that drops in a do-nothing
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)
{