bug-gnulib
[Top][All Lists]
Advanced

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

Signals on Mingw


From: Reuben Thomas
Subject: Signals on Mingw
Date: Sun, 22 Nov 2020 22:16:57 +0000

I find that it is necessary to #define _POSIX to get a full set of POSIX signal names defined in mingw's signal.h. I'm slightly surprised to find this is not implemented in gnulib: is there a reason?

If not, it would be straightforward to add

#ifdef __MINGW32__
#define _POSIX
#endif

before the #include of the system signal.h

# @INCLUDE_NEXT@ @NEXT_SIGNAL_H@

in signal.in.h.

--
https://rrt.sc3d.org

reply via email to

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