From 8da0b2f2cbbc784a2e225166e5a2b542d17d0dc7 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 20 Mar 2016 01:19:46 -0500 Subject: [PATCH] authd: use _WIN32 as the define for checking windows presence --- authd/authd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authd/authd.c b/authd/authd.c index 62336833..937160f9 100644 --- a/authd/authd.c +++ b/authd/authd.c @@ -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;