diff options
author | Bruno Haible <bruno@clisp.org> | 2008-10-05 16:58:03 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-10-05 16:58:03 +0200 |
commit | eaff1728aebaf49a7bc6f1c8ff7bc85025fe1151 (patch) | |
tree | 6a4abbdcf56874739376d1ef92a8c926756250f8 /lib/spawn_faction_adddup2.c | |
parent | 6db18f0c2c7334cc03a498296f4cd6ea67430efb (diff) | |
download | gnulib-eaff1728aebaf49a7bc6f1c8ff7bc85025fe1151.tar.gz |
Use getdtablesize module.
Diffstat (limited to 'lib/spawn_faction_adddup2.c')
-rw-r--r-- | lib/spawn_faction_adddup2.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/spawn_faction_adddup2.c b/lib/spawn_faction_adddup2.c index e861960099..688873fda4 100644 --- a/lib/spawn_faction_adddup2.c +++ b/lib/spawn_faction_adddup2.c @@ -23,12 +23,7 @@ #include <unistd.h> #if !_LIBC -# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -# include <stdio.h> -# define __sysconf(open_max) _getmaxstdio () -# else -# define __sysconf(open_max) getdtablesize () -# endif +# define __sysconf(open_max) getdtablesize () #endif #include "spawn_int.h" |