Changed: Include Windows.h only under Windows
This commit is contained in:
parent
a85c1b0b15
commit
e94374db7d
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