mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Silence warnings about BSD_SOURCE being deprecated.
This commit is contained in:
parent
2bfdd6e6a7
commit
aa4f87309d
@ -461,7 +461,7 @@ if(WIN32)
|
||||
set(MZ_LIBBSD OFF)
|
||||
set(MZ_ICONV OFF)
|
||||
else()
|
||||
list(APPEND STDLIB_DEF -D_POSIX_C_SOURCE=200809L -D_BSD_SOURCE)
|
||||
list(APPEND STDLIB_DEF -D_POSIX_C_SOURCE=200809L -D_BSD_SOURCE -D_DEFAULT_SOURCE)
|
||||
list(APPEND MINIZIP_SRC mz_os_posix.c mz_strm_os_posix.c)
|
||||
|
||||
if(MZ_PKCRYPT OR MZ_WZAES)
|
||||
|
Loading…
x
Reference in New Issue
Block a user