]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/vfs.h
Merge commit '37bef590b1d2161b16b2bd33349fc8b56af60920' into master-merge
[xonotic/netradiant.git] / tools / quake3 / common / vfs.h
index 14d6b4a6a06c8983b4a5c26aa1996d99a20fc1fe..15dd5e3b41f427965ed6a425ab6041904c870c92 100644 (file)
 #if GDEF_OS_WINDOWS
 #include <wtypes.h>
 #include <io.h>
+
+#ifndef R_OK
+#define R_OK 04
+#endif
+
 #define S_ISDIR( mode ) ( mode & _S_IFDIR )
 #else // !GDEF_OS_WINDOWS
 #include <dirent.h>