changeset 14666:b80300d0dc5e

dup3: cleanup * lib/dup3.c: Remove old code, leftover from 2009-12-16.
author Bruno Haible <bruno@clisp.org>
date Sat, 30 Apr 2011 17:22:37 +0200
parents 3ef0721f611e
children 1f6b1f7275d0
files ChangeLog lib/dup3.c
diffstat 2 files changed, 5 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-30  Bruno Haible  <bruno@clisp.org>
+
+	dup3: cleanup
+	* lib/dup3.c: Remove old code, leftover from 2009-12-16.
+
 2011-04-30  Bruno Haible  <bruno@clisp.org>
 
 	netdb: Make it work in C++ mode.
--- 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)
 {