* include/sys/select.h: Guard definitions with __USE_W32_SOCKETS as

the accompanying fd_set definitions in newlib's sys/types.h.
This commit is contained in:
Corinna Vinschen 2009-05-08 10:54:58 +00:00
parent 5796080933
commit 415867c378
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-05-08 Corinna Vinschen <corinna@vinschen.de>
* include/sys/select.h: Guard definitions with __USE_W32_SOCKETS as
the accompanying fd_set definitions in newlib's sys/types.h.
2009-05-06 Christopher Faylor <me+cygwin@cgf.cx> 2009-05-06 Christopher Faylor <me+cygwin@cgf.cx>
* fhandler_console.cc (fhandler_console::ioctl): Properly treat * fhandler_console.cc (fhandler_console::ioctl): Properly treat

View File

@ -1,5 +1,5 @@
/* select.h /* select.h
Copyright 1998, 1999, 2000, 2001 Red Hat, Inc. Copyright 1998, 1999, 2000, 2001, 2009 Red Hat, Inc.
Written by Geoffrey Noer <noer@cygnus.com> Written by Geoffrey Noer <noer@cygnus.com>
@ -12,7 +12,7 @@ details. */
#ifndef _SYS_SELECT_H #ifndef _SYS_SELECT_H
#define _SYS_SELECT_H #define _SYS_SELECT_H
#if !defined (_POSIX_SOURCE) && !defined (__INSIDE_CYGWIN_NET__) #if !defined (_POSIX_SOURCE) && !defined (__INSIDE_CYGWIN_NET__) && !defined (__USE_W32_SOCKETS)
#include <sys/cdefs.h> #include <sys/cdefs.h>