mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 23:43:39 +02:00
Define FILE_READ_ONLY_VOLUME if it is missing from winnt.h. (#521145)
2008-03-08 Tor Lillqvist <tml@novell.com> * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from winnt.h. (#521145) svn path=/trunk/; revision=6643
This commit is contained in:
committed by
Tor Lillqvist
parent
0a2a4fdc94
commit
93bd705e78
@@ -1,3 +1,8 @@
|
||||
2008-03-08 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
|
||||
winnt.h. (#521145)
|
||||
|
||||
2008-03-07 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* glocalfile.c:
|
||||
|
@@ -89,6 +89,10 @@
|
||||
#include <io.h>
|
||||
#include <direct.h>
|
||||
|
||||
#ifndef FILE_READ_ONLY_VOLUME
|
||||
#define FILE_READ_ONLY_VOLUME 0x00080000
|
||||
#endif
|
||||
|
||||
#ifndef S_ISDIR
|
||||
#define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user