We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9de6773 commit 1f8a2f6Copy full SHA for 1f8a2f6
1 file changed
windows/Makefile
@@ -15,11 +15,8 @@ INC += -I$(PY_SRC)
15
INC += -I$(BUILD)
16
17
# compiler settings
18
-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)
19
LDFLAGS = $(LDFLAGS_MOD) -lm
20
-ifeq ($(CROSS_COMPILE),i686-w64-mingw32-)
21
-CFLAGS += -D__USE_MINGW_ANSI_STDIO=1
22
-endif
23
24
# Debugging/Optimization
25
ifdef DEBUG
0 commit comments