Do not try to compile the monitor on windows

This commit is contained in:
2020-12-03 00:15:06 +01:00
parent c8b011913a
commit e899928928
3 changed files with 12 additions and 0 deletions

View File

@@ -6,6 +6,8 @@
#include <cstdio>
#ifndef _WIN32
static int listener;
static std::mutex sockLock; // guards socket list
static std::list<int> sockets;
@@ -110,3 +112,5 @@ void Monitor::start(void *unused) {
}
}
}
#endif // _WIN32