From 93bd705e78a4b224e0862e42a2384b5dad4f31a6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 8 Mar 2008 16:06:00 +0000 Subject: [PATCH] Define FILE_READ_ONLY_VOLUME if it is missing from winnt.h. (#521145) 2008-03-08 Tor Lillqvist * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from winnt.h. (#521145) svn path=/trunk/; revision=6643 --- gio/ChangeLog | 5 +++++ gio/glocalfile.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gio/ChangeLog b/gio/ChangeLog index 39be63ffd..5c5c3f229 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,8 @@ +2008-03-08 Tor Lillqvist + + * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from + winnt.h. (#521145) + 2008-03-07 Alexander Larsson * glocalfile.c: diff --git a/gio/glocalfile.c b/gio/glocalfile.c index e718e406a..5683b385f 100644 --- a/gio/glocalfile.c +++ b/gio/glocalfile.c @@ -89,6 +89,10 @@ #include #include +#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