authd: use _WIN32 as the define for checking windows presence

This commit is contained in:
William Pitcock 2016-03-20 01:19:46 -05:00
parent 4f73990245
commit 8da0b2f2cb

View file

@ -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;