From: Bruno Haible Date: Sat, 30 Apr 2011 15:22:37 +0000 (+0200) Subject: dup3: cleanup X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7982f61a1c485f7ea7dd6660b9c87d505ac9c47;p=pspp dup3: cleanup * lib/dup3.c: Remove old code, leftover from 2009-12-16. --- diff --git a/ChangeLog b/ChangeLog index 14b02e18d8..eb233f6061 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-04-30 Bruno Haible + + dup3: cleanup + * lib/dup3.c: Remove old code, leftover from 2009-12-16. + 2011-04-30 Bruno Haible netdb: Make it work in C++ mode. 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 - -/* Get declarations of the Win32 API functions. */ -# define WIN32_LEAN_AND_MEAN -# include - -/* Upper bound on getdtablesize(). See lib/getdtablesize.c. */ -# define OPEN_MAX_MAX 0x10000 - -#endif - int dup3 (int oldfd, int newfd, int flags) {