mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 07:49:01 +08:00
23 lines
599 B
Diff
23 lines
599 B
Diff
|
diff --git a/include/X11/Xw32defs.h b/include/X11/Xw32defs.h
|
||
|
index 683b588..db1eabd 100644
|
||
|
--- a/include/X11/Xw32defs.h
|
||
|
+++ b/include/X11/Xw32defs.h
|
||
|
@@ -27,7 +27,6 @@ typedef char *caddr_t;
|
||
|
# define execve _execve
|
||
|
# define execvp _execvp
|
||
|
# define execvpe _execvpe
|
||
|
-# define fdopen _fdopen
|
||
|
# define fileno _fileno
|
||
|
# define fstat _fstat
|
||
|
# define getcwd _getcwd
|
||
|
@@ -72,8 +71,8 @@ typedef char *caddr_t;
|
||
|
# define S_IEXEC _S_IEXEC
|
||
|
|
||
|
# define F_OK 0
|
||
|
-# define X_OK 1
|
||
|
# define W_OK 2
|
||
|
# define R_OK 4
|
||
|
+# define X_OK R_OK
|
||
|
# endif /* __GNUC__ */
|
||
|
#endif
|