Skip to content

Commit 8a9b565

Browse files
committed
Do not use shared global structures on CYGWIN
Fixes: libevent#950 (cherry picked from commit 2c47305)
1 parent 0ef87f5 commit 8a9b565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: evthread-internal.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ extern "C" {
3838

3939
struct event_base;
4040

41-
#ifndef _WIN32
41+
#if !defined(_WIN32) && !defined(__CYGWIN__)
4242
/* On Windows, the way we currently make DLLs, it's not allowed for us to
4343
* have shared global structures. Thus, we only do the direct-call-to-function
4444
* code path if we know that the local shared library system supports it.

0 commit comments

Comments
 (0)