* Add strnpy/strcpy_s wrapper to compile ProfileLogHandler.cpp
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Sun, 10 Jun 2007 19:47:33 +0000 (21:47 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Sun, 10 Jun 2007 19:47:33 +0000 (21:47 +0200)
ABM2/Makefile
ABM2/porting.h

index 271ff3b8f76b837d1d2b296a7cf809f871d09731..216421b4f3fced1b9203e6d421e870d5ff29a2d7 100644 (file)
@@ -1,5 +1,5 @@
 CFLAGS:=-I.
-OBJS:=main.o Engine/Log.o SchemeReader.o Engine/Settings.o Engine/mmanager.o Engine/Kernel.o
+OBJS:=main.o Engine/Log.o SchemeReader.o Engine/Settings.o Engine/mmanager.o Engine/Kernel.o Engine/ProfileLogHandler.o
 
 all: $(OBJS)
 
index 3ad233031284628127cdf9aeea6df26805207e56..d6a59c8f480a9ea18da9d46135d665ed6c29e7fc 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef WIN32
        #define vsprintf_s vsnprintf
        #define sprintf_s snprintf
+       #define strcpy_s(dst, size, src) strncpy(dst, src, size)
        #define ZeroMemory(buf, size) memset(buf, 0, size)
 #endif // !WIN32