From 6ed2857d5406d8f1dcca9ec83ee24e5ececc44f9 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 20 Sep 2024 14:05:56 +0200 Subject: [PATCH] w32: Fix last commit to build on Windows. * scd/app.c (struct mrsw_lock): Move notify_watchers out of the system specific condition. -- Fixes-commit: c98385d311ca37e1863d0e42ebf7bbc6b68efe35 --- scd/app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scd/app.c b/scd/app.c index da80f1561..ffb7544ec 100644 --- a/scd/app.c +++ b/scd/app.c @@ -59,8 +59,8 @@ struct mrsw_lock HANDLE the_event; #else int notify_pipe[2]; - int notify_watchers; #endif + int notify_watchers; /* Used only for W32 but let's define it always. */ }; /* MRSW lock to protect the list of cards.