aboutsummaryrefslogtreecommitdiffstats
path: root/extension/revtwoway.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-07-01 07:44:48 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-07-01 07:44:48 +0300
commit17fde7572b0a1661dac6e77f74a74220b34da555 (patch)
treed08f0b9dd8b164ead8c3bc842a2376f8ee14777f /extension/revtwoway.c
parent2234a195e67bd8f62ad6965ec85f8bd9a0c8a951 (diff)
parente8a8d49954bb50b2b67a88382e80fe63e738cd3f (diff)
downloadegawk-17fde7572b0a1661dac6e77f74a74220b34da555.tar.gz
egawk-17fde7572b0a1661dac6e77f74a74220b34da555.tar.bz2
egawk-17fde7572b0a1661dac6e77f74a74220b34da555.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'extension/revtwoway.c')
-rw-r--r--extension/revtwoway.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/extension/revtwoway.c b/extension/revtwoway.c
index c0d9381a..dfe58a1e 100644
--- a/extension/revtwoway.c
+++ b/extension/revtwoway.c
@@ -7,7 +7,7 @@
*/
/*
- * Copyright (C) 2012-2014 the Free Software Foundation, Inc.
+ * Copyright (C) 2012-2014, 2016 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -64,10 +64,10 @@ int plugin_is_GPL_compatible;
static size_t max_fds;
#ifndef HAVE_GETDTABLESIZE
-/* getdtablesize --- replacement version that should be good enough */
+/* gawk_getdtablesize --- replacement version that should be good enough */
static inline int
-getdtablesize()
+gawk_getdtablesize()
{
/*
* Algorithm for the GNULIB folks:
@@ -89,6 +89,8 @@ getdtablesize()
/* In the meantime, this is good enough for us: */
return 1024;
}
+
+#define getdtablesize() gawk_getdtablesize()
#endif
/*