aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-09-20 12:05:56 +0000
committerWerner Koch <[email protected]>2024-09-20 12:05:56 +0000
commit03459618c5f80fa05d1a88074f8a72d37535f804 (patch)
tree122d293a079eaecba6f367847dcdd90fb85f5877
parentscd: Fix DEVINFO, allowing no clients which watch the change. (diff)
downloadgnupg-03459618c5f80fa05d1a88074f8a72d37535f804.tar.gz
gnupg-03459618c5f80fa05d1a88074f8a72d37535f804.zip
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
-rw-r--r--scd/app.c2
1 files changed, 1 insertions, 1 deletions
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.