aboutsummaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-09-20 12:05:56 +0000
committerWerner Koch <[email protected]>2024-09-20 12:07:04 +0000
commit6ed2857d5406d8f1dcca9ec83ee24e5ececc44f9 (patch)
treeb9a365a0c969544cc1410a872617f364f0515578 /scd
parentscd: Fix DEVINFO, allowing no clients which watch the change. (diff)
downloadgnupg-6ed2857d5406d8f1dcca9ec83ee24e5ececc44f9.tar.gz
gnupg-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 'scd')
-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.