libuv: Explicitly enable GNU APIs on Cygwin
Backport upstream libuv commit `17ea56ee73` build: Improve build by cmake for Cygwin, 2023-01-20, v1.45.0~68) to define `_GNU_SOURCE`.
This commit is contained in:
parent
4ecf57dcd9
commit
93ee29964a
@ -165,6 +165,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "CYGWIN" OR CMAKE_SYSTEM_NAME MATCHES "MSYS")
|
||||
include/uv/posix.h
|
||||
)
|
||||
list(APPEND uv_defines
|
||||
_GNU_SOURCE
|
||||
)
|
||||
list(APPEND uv_sources
|
||||
src/unix/cygwin.c
|
||||
|
Loading…
Reference in New Issue
Block a user