Changed: Include Windows.h only under Windows
This commit is contained in:
parent
948ba645ce
commit
6a8556e7fe
1 changed files with 2 additions and 0 deletions
|
@ -32,7 +32,9 @@
|
|||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
#ifndef FILE_ATTRIBUTE_READONLY
|
||||
#define FILE_ATTRIBUTE_READONLY 0x1
|
||||
|
|
Loading…
Reference in a new issue