Do not use shared global structures on CYGWIN

Fixes: #950
(cherry picked from commit 2c473056abdf710b6c476b7b19777d5313e71d8a)
This commit is contained in:
Azat Khuzhin 2020-01-21 20:10:15 +03:00
parent 0ef87f5f0e
commit 8a9b565501

View 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.