]> granicus.if.org Git - libevent/commitdiff
Do not use shared global structures on CYGWIN
authorAzat Khuzhin <azat@libevent.org>
Tue, 21 Jan 2020 17:10:15 +0000 (20:10 +0300)
committerAzat Khuzhin <azat@libevent.org>
Fri, 24 Jan 2020 04:51:19 +0000 (07:51 +0300)
Fixes: #950
evthread-internal.h

index 5fdf31619cc8e56dc725d047ccfceb26df4d5ddf..83e409f09b4c83c0e22f3834161f3de6a4b095db 100644 (file)
@@ -38,7 +38,7 @@ extern "C" {
 
 struct event_base;
 
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__CYGWIN__)
 /* On Windows, the way we currently make DLLs, it's not allowed for us to
  * have shared global structures.  Thus, we only do the direct-call-to-function
  * code path if we know that the local shared library system supports it.