* Add ZeroMemory hack to compile mmanager.cpp.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Sun, 10 Jun 2007 19:38:19 +0000 (21:38 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Sun, 10 Jun 2007 19:38:19 +0000 (21:38 +0200)
 * Remove some unused CFLAGS.

ABM2/Makefile
ABM2/porting.h

index f6dc710b63638d7126c46e38d5edfcf31a8b4f79..900434e0efd73d132fea2a3fc3e6ca0956e0535f 100644 (file)
@@ -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)
 
index 942acab36114e302b3c44aca8c89b25965f8a5f8..3ad233031284628127cdf9aeea6df26805207e56 100644 (file)
@@ -1,4 +1,5 @@
 #ifndef WIN32
        #define vsprintf_s vsnprintf
        #define sprintf_s snprintf
+       #define ZeroMemory(buf, size) memset(buf, 0, size)
 #endif // !WIN32