mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Support ANSI *printf specifiers on mingw-w64
This commit is contained in:
parent
09e0e04227
commit
8525818d90
@ -261,6 +261,11 @@ IF(MSVC)
|
||||
ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS)
|
||||
ENDIF()
|
||||
|
||||
# Support ANSI format specifiers for *printf on MINGW:
|
||||
IF(MINGW)
|
||||
ADD_DEFINITIONS(-D__USE_MINGW_ANSI_STDIO=1)
|
||||
ENDIF()
|
||||
|
||||
#####
|
||||
# System inspection checks
|
||||
#####
|
||||
|
Loading…
Reference in New Issue
Block a user