glib r6971 - in branches/glib-2-16: . glib



Author: tml
Date: Sat Jun  7 04:05:03 2008
New Revision: 6971
URL: http://svn.gnome.org/viewvc/glib?rev=6971&view=rev

Log:
2008-06-07  Tor Lillqvist  <tml novell com>

	* glib/gstdio.c (g_access): Define X_OK if not defined (MSVC).



Modified:
   branches/glib-2-16/ChangeLog
   branches/glib-2-16/glib/gstdio.c

Modified: branches/glib-2-16/glib/gstdio.c
==============================================================================
--- branches/glib-2-16/glib/gstdio.c	(original)
+++ branches/glib-2-16/glib/gstdio.c	Sat Jun  7 04:05:03 2008
@@ -84,6 +84,10 @@
       return -1;
     }
 
+#ifndef X_OK
+#define X_OK 1
+#endif
+
   retval = _waccess (wfilename, mode & ~X_OK);
   save_errno = errno;
 



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