diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-07-01 07:44:30 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-07-01 07:44:30 +0300 |
commit | e8a8d49954bb50b2b67a88382e80fe63e738cd3f (patch) | |
tree | 3c01f0cad933180a4cb92bdb9579b2e49564c1b7 /extension/revtwoway.c | |
parent | e9c060994a719ccc80dedf6a9db75c0c62e129eb (diff) | |
parent | 82024c4ac22e50de3b0ad36d8aa81c52e7b4c9ae (diff) | |
download | egawk-e8a8d49954bb50b2b67a88382e80fe63e738cd3f.tar.gz egawk-e8a8d49954bb50b2b67a88382e80fe63e738cd3f.tar.bz2 egawk-e8a8d49954bb50b2b67a88382e80fe63e738cd3f.zip |
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'extension/revtwoway.c')
-rw-r--r-- | extension/revtwoway.c | 8 |
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 /* |