summaryrefslogtreecommitdiff
path: root/evthread-internal.h
diff options
context:
space:
mode:
authorAzat Khuzhin <azat@libevent.org>2020-01-21 20:10:15 +0300
committerAzat Khuzhin <azat@libevent.org>2020-01-24 07:51:19 +0300
commit2c473056abdf710b6c476b7b19777d5313e71d8a (patch)
treeb747316d969d3fc9b9b25879cb9eec5f638c4f40 /evthread-internal.h
parentec775a960b6110da7f406fa6f8dd72328303b1ef (diff)
downloadlibevent-2c473056abdf710b6c476b7b19777d5313e71d8a.tar.gz
Do not use shared global structures on CYGWIN
Fixes: #950
Diffstat (limited to 'evthread-internal.h')
-rw-r--r--evthread-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/evthread-internal.h b/evthread-internal.h
index 5fdf3161..83e409f0 100644
--- a/evthread-internal.h
+++ b/evthread-internal.h
@@ -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.