From 03459618c5f80fa05d1a88074f8a72d37535f804 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 3a66256bc..21230bd30 100644 --- a/scd/app.c +++ b/scd/app.c @@ -58,8 +58,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.