aboutsummaryrefslogtreecommitdiff
path: root/gnulib/import/windows-rwlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/import/windows-rwlock.c')
-rw-r--r--gnulib/import/windows-rwlock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnulib/import/windows-rwlock.c b/gnulib/import/windows-rwlock.c
index aafc5dd..64e761c 100644
--- a/gnulib/import/windows-rwlock.c
+++ b/gnulib/import/windows-rwlock.c
@@ -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