guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] branch mingw-guile-3.0 updated: on MinGW, prefer winsock


From: Mike Gran
Subject: [Guile-commits] branch mingw-guile-3.0 updated: on MinGW, prefer winsock2.h over sys/select in iselect
Date: Thu, 28 Jan 2021 20:01:20 -0500

This is an automated email from the git hooks/post-receive script.

mike121 pushed a commit to branch mingw-guile-3.0
in repository guile.

The following commit(s) were added to refs/heads/mingw-guile-3.0 by this push:
     new 99c42c5  on MinGW, prefer winsock2.h over sys/select in iselect
99c42c5 is described below

commit 99c42c5277d039e186f1570f7c59d7b9244f641f
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]