bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

select on MSVC [1/2]


From: Bruno Haible
Subject: select on MSVC [1/2]
Date: Thu, 22 Sep 2011 23:35:47 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

The module 'select' gives a compilation error on MSVC, because the code
includes <stdbool.h>, which does not exist. Actually it is not even
needed.

This fixes it.


2011-09-22  Bruno Haible  <address@hidden>

        select: Avoid compilation error on MSVC.
        * lib/select.c: Don't include <stdbool.h>.

--- lib/select.c.orig   Thu Sep 22 23:32:45 2011
+++ lib/select.c        Thu Sep 22 23:28:13 2011
@@ -27,7 +27,6 @@
 /* Native Win32.  */
 
 #include <sys/types.h>
-#include <stdbool.h>
 #include <errno.h>
 #include <limits.h>
 
-- 
In memoriam Martha Corey <http://en.wikipedia.org/wiki/Martha_Corey>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]