diff lib/sys_select.in.h @ 14789:0e87a6225f1a

select: Simplify replacement idiom. * m4/select.m4 (gl_FUNC_SELECT): Set REPLACE_SELECT also on native Win32 platforms. * lib/sys_select.in.h (select): Simplify accordingly. * modules/select (Depends-on): Likewise.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 22:28:43 +0200
parents 97fc9a21a8fb
children 5f709022a256
line wrap: on
line diff
--- a/lib/sys_select.in.h	Sat May 21 20:13:03 2011 +0200
+++ b/lib/sys_select.in.h	Sat May 21 22:28:43 2011 +0200
@@ -89,7 +89,7 @@
 
 
 #if @GNULIB_SELECT@
-# if @HAVE_WINSOCK2_H@ || @REPLACE_SELECT@
+# if @REPLACE_SELECT@
 #  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
 #   undef select
 #   define select rpl_select