From: Matthijs Kooijman Date: Sun, 10 Jun 2007 19:41:38 +0000 (+0200) Subject: * ifdef CKernel::Execute away to make CKernel compile. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=11384142f7b4616ae227d6bde5b8b50a158e9e3c;p=matthijs%2FABM2.git * ifdef CKernel::Execute away to make CKernel compile. --- diff --git a/ABM2/Engine/Kernel.cpp b/ABM2/Engine/Kernel.cpp index 5a004dd..42e112b 100755 --- a/ABM2/Engine/Kernel.cpp +++ b/ABM2/Engine/Kernel.cpp @@ -25,6 +25,7 @@ CKernel::~CKernel() int CKernel::Execute() { +#ifdef WIN32 MSG msg; while(taskList.size()) @@ -69,6 +70,7 @@ int CKernel::Execute() CProfileSample::Output(); #endif } +#endif // WIN32 return 0; } diff --git a/ABM2/Makefile b/ABM2/Makefile index 900434e..271ff3b 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 +OBJS:=main.o Engine/Log.o SchemeReader.o Engine/Settings.o Engine/mmanager.o Engine/Kernel.o all: $(OBJS)