Merge pull request #621 from stinos/migw-w64-fix

windows: Fix compilation with mingw-w64 so it uses correct printf implem...
This commit is contained in:
Paul Sokolovsky 2014-05-20 16:38:16 +03:00
commit 008343f640

View File

@ -17,6 +17,9 @@ INC += -I$(BUILD)
# compiler settings
CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT)
LDFLAGS = $(LDFLAGS_MOD) -lm
ifeq ($(CROSS_COMPILE),i686-w64-mingw32-)
CFLAGS += -D__USE_MINGW_ANSI_STDIO=1
endif
# Debugging/Optimization
ifdef DEBUG