mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Properly guard io.h since it is Windows only
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
parent
b171bd991d
commit
09c9a1c5bc
1 changed files with 4 additions and 1 deletions
|
@ -24,7 +24,10 @@
|
||||||
|
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
|
|
||||||
#include <io.h>
|
#ifdef Q_OS_WIN
|
||||||
|
#include <io.h> // for stdout
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace OCC {
|
namespace OCC {
|
||||||
|
|
||||||
QtMessageHandler s_originalMessageHandler = nullptr;
|
QtMessageHandler s_originalMessageHandler = nullptr;
|
||||||
|
|
Loading…
Reference in a new issue