From eb4d319d49ad9318215d9f4c7295d5b8e65e1cfe Mon Sep 17 00:00:00 2001 From: Sylae Corell Date: Tue, 29 Jul 2014 12:22:45 -0600 Subject: [PATCH] Include the WIN32 flag, since GCC doesn't want to now --- boesounds/Makefile | 2 +- charedit/Makefile | 2 +- game/Makefile | 2 +- scenedit/Makefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boesounds/Makefile b/boesounds/Makefile index 8db79b6e..0d277120 100644 --- a/boesounds/Makefile +++ b/boesounds/Makefile @@ -7,7 +7,7 @@ RES = Blades_of_Exile_private.res INCS = -I"include" CXXINCS = BIN = boesounds.dll -CXXFLAGS = $(CXXINCS) -Wall -O2 -g -std=c++0x +CXXFLAGS = $(CXXINCS) -Wall -O2 -g -std=c++0x -DWIN32 RM = rm -f .PHONY: all all-before all-after clean clean-custom diff --git a/charedit/Makefile b/charedit/Makefile index ae6f1dd6..c81f967a 100644 --- a/charedit/Makefile +++ b/charedit/Makefile @@ -10,7 +10,7 @@ LIBS = -lwinmm -mwindows -lwinmm -static-libgcc -static-libstdc++ INCS = -I"include" CXXINCS = BIN = "Blades of Exile Character Editor.exe" -CXXFLAGS = $(CXXINCS) -Wall -O2 -std=c++0x +CXXFLAGS = $(CXXINCS) -Wall -O2 -std=c++0x -DWIN32 .PHONY: all all-before all-after clean clean-custom diff --git a/game/Makefile b/game/Makefile index 2fb4e303..b146dd5b 100644 --- a/game/Makefile +++ b/game/Makefile @@ -10,7 +10,7 @@ LIBS = -mwindows -lwinmm -static-libgcc -static-libstdc++ INCS = -I"include" CXXINCS = BIN = "Blades of Exile.exe" -CXXFLAGS = $(CXXINCS) -Wall -O2 -std=c++0x $(FLAGS) +CXXFLAGS = $(CXXINCS) -Wall -O2 -std=c++0x -DWIN32 $(FLAGS) CFLAGS = $(INCS) -O2 RM = rm -f diff --git a/scenedit/Makefile b/scenedit/Makefile index c7d900ad..b05f456b 100644 --- a/scenedit/Makefile +++ b/scenedit/Makefile @@ -10,7 +10,7 @@ LIBS = -mwindows -lwinmm --strip-all -static-libgcc -static-libstdc++ INCS = -I"include" CXXINCS = BIN = "Blades of Exile Scenario Editor.exe" -CXXFLAGS = $(CXXINCS) -fno-exceptions -fno-rtti -std=c++0x +CXXFLAGS = $(CXXINCS) -fno-exceptions -fno-rtti -std=c++0x -DWIN32 CFLAGS = $(INCS) RM = rm -f