Properly guard io.h since it is Windows only

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
Kevin Ottens 2020-07-01 15:12:25 +02:00
parent b171bd991d
commit 09c9a1c5bc

View file

@ -24,7 +24,10 @@
#include <zlib.h>
#include <io.h>
#ifdef Q_OS_WIN
#include <io.h> // for stdout
#endif
namespace OCC {
QtMessageHandler s_originalMessageHandler = nullptr;