Commit 32acd4b9 authored by stijn's avatar stijn
Browse files

windows: Fix compilation with mingw-w64 so it uses correct printf implementations

Without this flag, mingw-w64 uses the MS implementations of snpintf and the likes.
This is not really a problem since they work with the the fixes provided for msvc,
but due to the way mingw-w64's stdio.h is structured we cannot get it to use the fixes.
parent 44a949d5
......@@ -17,6 +17,9 @@ INC += -I$(BUILD)
# compiler settings
CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT)
ifeq ($(CROSS_COMPILE),i686-w64-mingw32-)
# Debugging/Optimization
ifdef DEBUG
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment