From: Matthijs Kooijman Date: Sun, 10 Jun 2007 19:56:57 +0000 (+0200) Subject: * Add another GetTickCount hack to compile CGlobalTimer. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2FABM2.git;a=commitdiff_plain;h=f14a4c1ff4c28feecc24ccb6403af8c7f3162557 * Add another GetTickCount hack to compile CGlobalTimer. --- diff --git a/ABM2/Engine/GlobalTimer.h b/ABM2/Engine/GlobalTimer.h index e644210..57ee752 100755 --- a/ABM2/Engine/GlobalTimer.h +++ b/ABM2/Engine/GlobalTimer.h @@ -9,6 +9,9 @@ #pragma once #endif // _MSC_VER > 1000 +/* HACK to make things compile */ +#define GetTickCount() 0 + #include "engine.h" class CGlobalTimer : public ITask diff --git a/ABM2/Makefile b/ABM2/Makefile index b3857a6..89718c5 100644 --- a/ABM2/Makefile +++ b/ABM2/Makefile @@ -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)