aboutsummaryrefslogtreecommitdiffstats
path: root/extension
diff options
context:
space:
mode:
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)
{