summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-04-30 17:22:37 +0200
committerBruno Haible <bruno@clisp.org>2011-04-30 17:22:37 +0200
commita7982f61a1c485f7ea7dd6660b9c87d505ac9c47 (patch)
treeeb659b832cd99876c808b833b621d05e0aba3329 /lib
parent0576d58775046f35e81c47b29fecad1daf516336 (diff)
downloadgnulib-a7982f61a1c485f7ea7dd6660b9c87d505ac9c47.tar.gz
dup3: cleanup
* lib/dup3.c: Remove old code, leftover from 2009-12-16.
Diffstat (limited to 'lib')
-rw-r--r--lib/dup3.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/dup3.c b/lib/dup3.c
index 2f87da6167..7525142d7f 100644
--- a/lib/dup3.c
+++ b/lib/dup3.c
@@ -26,20 +26,6 @@
#include "binary-io.h"
-#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-/* Native Woe32 API. */
-
-# include <string.h>
-
-/* Get declarations of the Win32 API functions. */
-# define WIN32_LEAN_AND_MEAN
-# include <windows.h>
-
-/* Upper bound on getdtablesize(). See lib/getdtablesize.c. */
-# define OPEN_MAX_MAX 0x10000
-
-#endif
-
int
dup3 (int oldfd, int newfd, int flags)
{