summaryrefslogtreecommitdiff
path: root/lib/spawn_faction_adddup2.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-10-05 16:58:03 +0200
committerBruno Haible <bruno@clisp.org>2008-10-05 16:58:03 +0200
commiteaff1728aebaf49a7bc6f1c8ff7bc85025fe1151 (patch)
tree6a4abbdcf56874739376d1ef92a8c926756250f8 /lib/spawn_faction_adddup2.c
parent6db18f0c2c7334cc03a498296f4cd6ea67430efb (diff)
downloadgnulib-eaff1728aebaf49a7bc6f1c8ff7bc85025fe1151.tar.gz
Use getdtablesize module.
Diffstat (limited to 'lib/spawn_faction_adddup2.c')
-rw-r--r--lib/spawn_faction_adddup2.c7
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"