From 2e0fc6211c936a1cd1c4067e4ecea57088d08990 Mon Sep 17 00:00:00 2001 From: intns <84647527+intns@users.noreply.github.com> Date: Mon, 16 Dec 2024 19:25:18 +0000 Subject: [PATCH] fix: fix build --- src/sysCommon/baseApp.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/sysCommon/baseApp.cpp b/src/sysCommon/baseApp.cpp index 017ff173..3202daab 100644 --- a/src/sysCommon/baseApp.cpp +++ b/src/sysCommon/baseApp.cpp @@ -74,10 +74,7 @@ int BaseApp::idleupdate() */ void BaseApp::startAgeServer() { -#ifdef __MWERKS__ - return; -#endif - +#ifndef __MWERKS__ if (mAgeServer) { return; } @@ -93,6 +90,7 @@ void BaseApp::startAgeServer() read(*(RandomAccessStream*)mAgeServer); mAgeServer->Done(); } +#endif } /* @@ -102,16 +100,14 @@ void BaseApp::startAgeServer() */ void BaseApp::stopAgeServer() { -#ifdef __MWERKS__ - return; -#endif - +#ifndef __MWERKS__ if (mAgeServer) { PRINT("Atx - Wants to close Age service\n"); mAgeServer->mNetStream->writeInt(0xFFFF); mAgeServer->mNetStream->flush(); mAgeServer = nullptr; } +#endif } /*