summaryrefslogtreecommitdiffstats
path: root/scd/app.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2024-09-20 14:05:56 +0200
committerWerner Koch <wk@gnupg.org>2024-09-20 14:07:04 +0200
commit6ed2857d5406d8f1dcca9ec83ee24e5ececc44f9 (patch)
treeb9a365a0c969544cc1410a872617f364f0515578 /scd/app.c
parentscd: Fix DEVINFO, allowing no clients which watch the change. (diff)
downloadgnupg2-6ed2857d5406d8f1dcca9ec83ee24e5ececc44f9.tar.xz
gnupg2-6ed2857d5406d8f1dcca9ec83ee24e5ececc44f9.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
Diffstat (limited to '')
-rw-r--r--scd/app.c2
1 files changed, 1 insertions, 1 deletions
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.