mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01: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:
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>
|
2008-03-07 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* glocalfile.c:
|
* glocalfile.c:
|
||||||
|
@ -89,6 +89,10 @@
|
|||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
|
|
||||||
|
#ifndef FILE_READ_ONLY_VOLUME
|
||||||
|
#define FILE_READ_ONLY_VOLUME 0x00080000
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef S_ISDIR
|
#ifndef S_ISDIR
|
||||||
#define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR)
|
#define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user