mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Added _CRT_NONSTDC_NO_DEPRECATE for MSVC compilation with strdup.
This commit is contained in:
parent
3394c29b52
commit
3b0461e229
@ -430,7 +430,7 @@ endif()
|
||||
|
||||
# Platform specific
|
||||
if(WIN32)
|
||||
list(APPEND MINIZIP_DEF -D_CRT_SECURE_NO_DEPRECATE)
|
||||
list(APPEND MINIZIP_DEF -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
|
||||
list(APPEND MINIZIP_SRC mz_os_win32.c mz_strm_os_win32.c)
|
||||
|
||||
if(MZ_PKCRYPT OR MZ_WZAES)
|
||||
|
Loading…
x
Reference in New Issue
Block a user