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);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef WINDOWS
|
#ifndef _WIN32
|
||||||
static void
|
static void
|
||||||
dummy_handler(int sig)
|
dummy_handler(int sig)
|
||||||
{
|
{
|
||||||
|
@ -110,7 +110,7 @@ dummy_handler(int sig)
|
||||||
static void
|
static void
|
||||||
setup_signals(void)
|
setup_signals(void)
|
||||||
{
|
{
|
||||||
#ifndef WINDOWS
|
#ifndef _WIN32
|
||||||
struct sigaction act;
|
struct sigaction act;
|
||||||
|
|
||||||
act.sa_flags = 0;
|
act.sa_flags = 0;
|
||||||
|
|
Loading…
Reference in a new issue