Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/BLI_winstuff.h')
-rw-r--r--source/blender/blenlib/BLI_winstuff.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_winstuff.h b/source/blender/blenlib/BLI_winstuff.h
index 70c7f1d9cae..fe538fcb42a 100644
--- a/source/blender/blenlib/BLI_winstuff.h
+++ b/source/blender/blenlib/BLI_winstuff.h
@@ -94,6 +94,14 @@ extern "C" {
/* defines for using ISO C++ conformant names */
#define snprintf _snprintf
+#ifdef _MSC_VER
+# define R_OK 4
+# define W_OK 2
+# define X_OK 1
+# define F_OK 0
+# define PATH_MAX 4096
+#endif
+
#ifndef FREE_WINDOWS
typedef unsigned int mode_t;
#endif