Changed: Include Windows.h only under Windows

This commit is contained in:
kervala 2016-05-14 18:52:53 +02:00
parent 948ba645ce
commit 6a8556e7fe

View file

@ -32,7 +32,9 @@
#include <sys/stat.h> #include <sys/stat.h>
#ifdef Q_OS_WIN
#include <Windows.h> #include <Windows.h>
#endif
#ifndef FILE_ATTRIBUTE_READONLY #ifndef FILE_ATTRIBUTE_READONLY
#define FILE_ATTRIBUTE_READONLY 0x1 #define FILE_ATTRIBUTE_READONLY 0x1