From 864eba5928b4906f7c8b04eef2aead5e61f7ba6a 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 --- Win32/boesounds/Makefile | 2 +- Win32/charedit/Makefile | 2 +- Win32/game/Makefile | 2 +- Win32/scenedit/Makefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Win32/boesounds/Makefile b/Win32/boesounds/Makefile index 8db79b6e..0d277120 100644 --- a/Win32/boesounds/Makefile +++ b/Win32/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/Win32/charedit/Makefile b/Win32/charedit/Makefile index ae6f1dd6..c81f967a 100644 --- a/Win32/charedit/Makefile +++ b/Win32/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/Win32/game/Makefile b/Win32/game/Makefile index 2fb4e303..b146dd5b 100644 --- a/Win32/game/Makefile +++ b/Win32/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/Win32/scenedit/Makefile b/Win32/scenedit/Makefile index c7d900ad..b05f456b 100644 --- a/Win32/scenedit/Makefile +++ b/Win32/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