Skip to content

Commit

Permalink
fix: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
intns committed Dec 16, 2024
1 parent 4ac1d9f commit 2e0fc62
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/sysCommon/baseApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@ int BaseApp::idleupdate()
*/
void BaseApp::startAgeServer()
{
#ifdef __MWERKS__
return;
#endif

#ifndef __MWERKS__
if (mAgeServer) {
return;
}
Expand All @@ -93,6 +90,7 @@ void BaseApp::startAgeServer()
read(*(RandomAccessStream*)mAgeServer);
mAgeServer->Done();
}
#endif
}

/*
Expand All @@ -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
}

/*
Expand Down

0 comments on commit 2e0fc62

Please sign in to comment.