windows: define __USE_MINGW_ANSI_STDIO for all Windows compilers.
This commit is contained in:
parent
9de6773237
commit
1f8a2f6623
|
@ -15,11 +15,8 @@ INC += -I$(PY_SRC)
|
|||
INC += -I$(BUILD)
|
||||
|
||||
# compiler settings
|
||||
CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT)
|
||||
CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -ansi -std=gnu99 -DUNIX -D__USE_MINGW_ANSI_STDIO=1 $(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
|
||||
|
|
Loading…
Reference in New Issue