changeset 12875:89031a1cde2f

sys_select.in.h: Fix for Interix. Tiny patch from Markus Duft <mduft@gentoo.org>.
author Simon Josefsson <simon@josefsson.org>
date Thu, 18 Feb 2010 11:22:20 +0100
parents 3e8b55b2056e
children 030a6f5cbffd
files ChangeLog lib/sys_select.in.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-18  Markus Duft <mduft@gentoo.org>  (tiny change)
+
+	* lib/sys_select.in.h: Provide select replacement even if
+	sys/select.h exists on a system, for Interix.
+
 2010-02-18  Jim Meyering  <meyering@redhat.com>
 
 	init.sh: don't use $(...) just yet
--- a/lib/sys_select.in.h
+++ b/lib/sys_select.in.h
@@ -63,7 +63,7 @@
 #ifndef _GL_SYS_SELECT_H
 #define _GL_SYS_SELECT_H
 
-#if !@HAVE_SYS_SELECT_H@
+#if !@HAVE_SYS_SELECT_H@ || @REPLACE_SELECT@
 
 /* A platform that lacks <sys/select.h>.  */