aboutsummaryrefslogtreecommitdiffstats
path: root/src/signals.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-03-05 19:53:47 +0100
committerMattias Andrée <m@maandree.se>2025-03-05 19:53:47 +0100
commit066fac61e017824f7dccbd1ef3d7dc455cf4b95b (patch)
treeb240eee9ec49ab3b83fe4978d3a0472def7251ce /src/signals.c
parentMerge config-ini.h and options.h into common.h (diff)
downloadredshift-ng-066fac61e017824f7dccbd1ef3d7dc455cf4b95b.tar.gz
redshift-ng-066fac61e017824f7dccbd1ef3d7dc455cf4b95b.tar.bz2
redshift-ng-066fac61e017824f7dccbd1ef3d7dc455cf4b95b.tar.xz
Consistently use (locally defined) WINDOWS macro over mixing __WIN32__ and _WIN32
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'src/signals.c')
-rw-r--r--src/signals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signals.c b/src/signals.c
index 70addf8..8c07b97 100644
--- a/src/signals.c
+++ b/src/signals.c
@@ -20,7 +20,7 @@
#include "common.h"
-#if !defined(__WIN32__)
+#ifndef WINDOWS
volatile sig_atomic_t exiting = 0;
volatile sig_atomic_t disable = 0;