From c0066ee748d25faed654973d09fab4d90ed5cc51 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sun, 10 Jun 2007 20:43:38 +0200 Subject: [PATCH] * Remove some hacks. * Move GetTickCount hack to profiler.h --- ABM2/Engine/profiler.h | 3 +++ ABM2/main.cpp | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/ABM2/Engine/profiler.h b/ABM2/Engine/profiler.h index 77eee05..5a5ad32 100755 --- a/ABM2/Engine/profiler.h +++ b/ABM2/Engine/profiler.h @@ -3,6 +3,9 @@ #define MAX_PROFILER_SAMPLES 50 +/* HACK to make things compile */ +#define GetTickCount() 0 + class IProfilerOutputHandler; class CProfileSample; diff --git a/ABM2/main.cpp b/ABM2/main.cpp index 7348a15..48dcd73 100755 --- a/ABM2/main.cpp +++ b/ABM2/main.cpp @@ -4,13 +4,6 @@ #include #endif -//#ifndef WIN32 - /* HACKS */ -#define max(a,b) (a>b?a:b) -#define min(a,b) (a