guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 01/04: on MinGW, prefer winsock2.h over sys/select in is


From: Mike Gran
Subject: [Guile-commits] 01/04: on MinGW, prefer winsock2.h over sys/select in iselect
Date: Thu, 11 Mar 2021 15:31:39 -0500 (EST)

mike121 pushed a commit to branch master
in repository guile.

commit 1b0da42672262426bca7bb58e70fb753c628ffc3
Author: Mike Gran <spk121@yahoo.com>
AuthorDate: Thu Jan 28 17:01:07 2021 -0800

    on MinGW, prefer winsock2.h over sys/select in iselect
    
    * libguile/iselect.h [__MINGW32__]: add winsock2 include
---
 libguile/iselect.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libguile/iselect.h b/libguile/iselect.h
index 3b66c0f..9d0c4e6 100644
--- a/libguile/iselect.h
+++ b/libguile/iselect.h
@@ -23,7 +23,11 @@
 
 
 #include <sys/types.h> /* Needed for FD_SET on some systems.  */
+#ifdef __MINGW32__
+#include <winsock2.h>
+#else
 #include <sys/select.h>
+#endif
 
 #include "libguile/scm.h"
 



reply via email to

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