mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-03 09:16:30 -04:00
Do not use shared global structures on CYGWIN
Fixes: #950 (cherry picked from commit 2c473056abdf710b6c476b7b19777d5313e71d8a)
This commit is contained in:
parent
0ef87f5f0e
commit
8a9b565501
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user