From: Tor Lillqvist Date: Sat, 8 Mar 2008 16:06:00 +0000 (+0000) Subject: Define FILE_READ_ONLY_VOLUME if it is missing from winnt.h. (#521145) X-Git-Tag: GLIB_2_16_0~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93bd705e78a4b224e0862e42a2384b5dad4f31a6;p=platform%2Fupstream%2Fglib.git 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 --- diff --git a/gio/ChangeLog b/gio/ChangeLog index 39be63f..5c5c3f2 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 e718e40..5683b38 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