janneke pushed a commit to branch wip-mingw
in repository guile.

commit 9a5a4d90ea0055822a2d0a52210624a6d608c64d
Author: Jan (janneke) Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Fri Oct 30 14:55:15 2020 +0100

    Define 'SIGHUP' for MinGW.
    
    Although there is no such signal, this removes the need for cluttering
    client code.
    
    * libguile/posix.c (SIGHUP)[__MINGW32__]: New define.
---
 libguile/posix.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libguile/posix.c b/libguile/posix.c
index b6a0711..4ea1e17 100644
--- a/libguile/posix.c
+++ b/libguile/posix.c
@@ -61,6 +61,7 @@
 
 #ifdef __MINGW32__
 # include "posix-w32.h"
+#define SIGHUP 1
 #define SIGPIPE 13
 #endif /* __MINGW32__ */
 

Reply via email to