From 8a9b565501211142ca12e0e732c2493df907403e Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Tue, 21 Jan 2020 20:10:15 +0300 Subject: [PATCH] Do not use shared global structures on CYGWIN Fixes: #950 (cherry picked from commit 2c473056abdf710b6c476b7b19777d5313e71d8a) --- evthread-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.