* ifdef CKernel::Execute away to make CKernel compile.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Sun, 10 Jun 2007 19:41:38 +0000 (21:41 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Sun, 10 Jun 2007 19:41:38 +0000 (21:41 +0200)
ABM2/Engine/Kernel.cpp
ABM2/Makefile

index 5a004dd0be39a38ca566ecc5bfbef9b13a7b2d3d..42e112bc7f52653f576b32e758c8d68c9ebdcea1 100755 (executable)
@@ -25,6 +25,7 @@ CKernel::~CKernel()
 \r
 int CKernel::Execute()\r
 {\r
+#ifdef WIN32\r
     MSG msg;\r
 \r
        while(taskList.size())\r
@@ -69,6 +70,7 @@ int CKernel::Execute()
                CProfileSample::Output();\r
 #endif\r
        }\r
+#endif // WIN32\r
 \r
        return 0;\r
 }\r
index 900434e0efd73d132fea2a3fc3e6ca0956e0535f..271ff3b8f76b837d1d2b296a7cf809f871d09731 100644 (file)
@@ -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)