* Add another GetTickCount hack to compile CGlobalTimer.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Sun, 10 Jun 2007 19:56:57 +0000 (21:56 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Sun, 10 Jun 2007 19:56:57 +0000 (21:56 +0200)
ABM2/Engine/GlobalTimer.h
ABM2/Makefile

index e644210504aa84a80790de83d8c1413fca5d678f..57ee7525c38492815b4827eb2eddc26feb228109 100755 (executable)
@@ -9,6 +9,9 @@
 #pragma once\r
 #endif // _MSC_VER > 1000\r
 \r
+/* HACK to make things compile */\r
+#define GetTickCount() 0\r
+\r
 #include "engine.h"\r
 \r
 class CGlobalTimer : public ITask\r
index b3857a69551bde1238367bf09700643c308d7d0e..89718c5f146d6deeb4618c67cb4edf0342d1e1dc 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 Engine/ProfileLogHandler.o Engine/VideoUpdate.o
+OBJS:=main.o Engine/Log.o SchemeReader.o Engine/Settings.o Engine/mmanager.o Engine/Kernel.o Engine/ProfileLogHandler.o Engine/VideoUpdate.o Engine/GlobalTimer.o
 
 all: $(OBJS)