mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
Mingw: Use POSIX compatible stdio #3232
- There are some differences between stdio (*printf) functions in POSIX and the MS runtime, this commit enables Mingw compatibility for these functions
This commit is contained in:
parent
6cf2925f63
commit
fc7055f6e9
@ -112,6 +112,10 @@ endif()
|
||||
|
||||
add_definitions(-Wall -Wextra -pedantic -Wno-unused-parameter
|
||||
-Wstrict-prototypes -std=gnu99)
|
||||
if (MINGW)
|
||||
# Use POSIX compatible stdio in Mingw
|
||||
add_definitions(-D__USE_MINGW_ANSI_STDIO)
|
||||
endif()
|
||||
|
||||
option(
|
||||
TRAVIS_CI_BUILD "Travis CI build. Extra compilation flags will be set." OFF)
|
||||
|
Loading…
Reference in New Issue
Block a user