mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
authd: use _WIN32 as the define for checking windows presence
This commit is contained in:
parent
4f73990245
commit
8da0b2f2cb
1 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ error_cb(rb_helper *helper)
|
|||
exit(1);
|
||||
}
|
||||
|
||||
#ifndef WINDOWS
|
||||
#ifndef _WIN32
|
||||
static void
|
||||
dummy_handler(int sig)
|
||||
{
|
||||
|
@ -110,7 +110,7 @@ dummy_handler(int sig)
|
|||
static void
|
||||
setup_signals(void)
|
||||
{
|
||||
#ifndef WINDOWS
|
||||
#ifndef _WIN32
|
||||
struct sigaction act;
|
||||
|
||||
act.sa_flags = 0;
|
||||
|
|
Loading…
Reference in a new issue