Support the monitor interface on Windows as well

This change required sacrificing both code cleanliness and the specific
error reports from perror(). Those could have been kept with a portable
wrapper, but that's too much work. We'll do it if unforseen errors
arise.
This commit is contained in:
2020-12-04 17:22:54 +01:00
parent 85dcdd4cc5
commit 26024de866
3 changed files with 24 additions and 29 deletions

View File

@@ -1,7 +1,5 @@
#pragma once
#ifndef _WIN32
#include "CNProtocol.hpp"
#include <list>
@@ -12,5 +10,3 @@ namespace Monitor {
void tick(CNServer *, time_t);
void start(void *);
};
#endif // _WIN32