glib r6643 - trunk/gio



Author: tml
Date: Sat Mar  8 16:06:00 2008
New Revision: 6643
URL: http://svn.gnome.org/viewvc/glib?rev=6643&view=rev

Log:
2008-03-08  Tor Lillqvist  <tml novell com>

	* glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
	winnt.h. (#521145)



Modified:
   trunk/gio/ChangeLog
   trunk/gio/glocalfile.c

Modified: trunk/gio/glocalfile.c
==============================================================================
--- trunk/gio/glocalfile.c	(original)
+++ trunk/gio/glocalfile.c	Sat Mar  8 16:06:00 2008
@@ -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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]