mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-21 19:40:39 +00:00
Do not try to compile the monitor on windows
This commit is contained in:
@@ -104,7 +104,9 @@ int main() {
|
||||
TransportManager::init();
|
||||
BuddyManager::init();
|
||||
GroupManager::init();
|
||||
#ifndef _WIN32
|
||||
Monitor::init();
|
||||
#endif
|
||||
Database::open();
|
||||
|
||||
switch (settings::EVENTMODE) {
|
||||
@@ -123,7 +125,9 @@ int main() {
|
||||
shardServer = new CNShardServer(settings::SHARDPORT);
|
||||
|
||||
shardThread = new std::thread(startShard, (CNShardServer*)shardServer);
|
||||
#ifndef _WIN32
|
||||
monitorThread = new std::thread(Monitor::start, nullptr);
|
||||
#endif
|
||||
|
||||
loginServer.start();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user