From f14a4c1ff4c28feecc24ccb6403af8c7f3162557 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sun, 10 Jun 2007 21:56:57 +0200 Subject: [PATCH] * Add another GetTickCount hack to compile CGlobalTimer. --- ABM2/Engine/GlobalTimer.h | 3 +++ ABM2/Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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) -- 2.30.2