mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-15 20:25:12 +01:00
Define X_OK if not defined (MSVC).
2008-06-07 Tor Lillqvist <tml@novell.com> * glib/gstdio.c (g_access): Define X_OK if not defined (MSVC). svn path=/trunk/; revision=6970
This commit is contained in:
parent
c5df5e88d9
commit
fa7e176e4b
@ -1,3 +1,7 @@
|
||||
2008-06-07 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gstdio.c (g_access): Define X_OK if not defined (MSVC).
|
||||
|
||||
2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
|
||||
|
||||
Bug 531403 – g_utf8_collate broken on Mac.
|
||||
|
@ -85,6 +85,10 @@ g_access (const gchar *filename,
|
||||
return -1;
|
||||
}
|
||||
|
||||
#ifndef X_OK
|
||||
#define X_OK 1
|
||||
#endif
|
||||
|
||||
retval = _waccess (wfilename, mode & ~X_OK);
|
||||
save_errno = errno;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user