summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/gnulib/lib/windows-rwlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'macros/texinfo/texinfo/gnulib/lib/windows-rwlock.c')
-rw-r--r--macros/texinfo/texinfo/gnulib/lib/windows-rwlock.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/macros/texinfo/texinfo/gnulib/lib/windows-rwlock.c b/macros/texinfo/texinfo/gnulib/lib/windows-rwlock.c
index 9207d1b997..2c3f922a02 100644
--- a/macros/texinfo/texinfo/gnulib/lib/windows-rwlock.c
+++ b/macros/texinfo/texinfo/gnulib/lib/windows-rwlock.c
@@ -1,5 +1,5 @@
/* Read-write locks (native Windows implementation).
- Copyright (C) 2005-2019 Free Software Foundation, Inc.
+ Copyright (C) 2005-2021 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -25,6 +25,10 @@
#include <errno.h>
#include <stdlib.h>
+/* Don't assume that UNICODE is not defined. */
+#undef CreateEvent
+#define CreateEvent CreateEventA
+
/* In this file, the waitqueues are implemented as circular arrays. */
#define glwthread_waitqueue_t glwthread_carray_waitqueue_t