Changed: Include Windows.h only under Windows

This commit is contained in:
kervala 2016-05-14 18:52:53 +02:00
parent a85c1b0b15
commit e94374db7d

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