Define FILE_READ_ONLY_VOLUME if it is missing from winnt.h. (#521145)
authorTor Lillqvist <tml@novell.com>
Sat, 8 Mar 2008 16:06:00 +0000 (16:06 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sat, 8 Mar 2008 16:06:00 +0000 (16:06 +0000)
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

gio/ChangeLog
gio/glocalfile.c

index 39be63ffd58d9d0be245a31dd7d5a7e10869fb2e..5c5c3f229a629605066fc46f5c7996a78aed7f1e 100644 (file)
@@ -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:
index e718e406a6b59091a7a1d02c962a9d5e76544e52..5683b385f9518201d9f408debb0b6119b639b242 100644 (file)
 #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