From: Matthijs Kooijman Date: Sun, 10 Jun 2007 19:38:19 +0000 (+0200) Subject: * Add ZeroMemory hack to compile mmanager.cpp. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=31c6ace7ecad33ae9ed725af2e3bf1842261fa9d;p=matthijs%2FABM2.git * Add ZeroMemory hack to compile mmanager.cpp. * Remove some unused CFLAGS. --- diff --git a/ABM2/Makefile b/ABM2/Makefile index f6dc710..900434e 100644 --- a/ABM2/Makefile +++ b/ABM2/Makefile @@ -1,5 +1,5 @@ -CFLAGS:=-I. -fno-elide-constructors -fms-extensions -fpermissive -OBJS:=main.o Engine/Log.o SchemeReader.o Engine/Settings.o +CFLAGS:=-I. +OBJS:=main.o Engine/Log.o SchemeReader.o Engine/Settings.o Engine/mmanager.o all: $(OBJS) diff --git a/ABM2/porting.h b/ABM2/porting.h index 942acab..3ad2330 100644 --- a/ABM2/porting.h +++ b/ABM2/porting.h @@ -1,4 +1,5 @@ #ifndef WIN32 #define vsprintf_s vsnprintf #define sprintf_s snprintf + #define ZeroMemory(buf, size) memset(buf, 0, size) #endif // !WIN32