guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 12/15: Define 'SIGHUP' for MinGW.


From: Jan Nieuwenhuizen
Subject: [Guile-commits] 12/15: Define 'SIGHUP' for MinGW.
Date: Mon, 12 Apr 2021 05:55:45 -0400 (EDT)

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

commit 9a5a4d90ea0055822a2d0a52210624a6d608c64d
Author: Jan (janneke) Nieuwenhuizen <janneke@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

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