diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-05 11:39:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-05 11:39:52 +0400 |
commit | dc4be68cb98e3eadd441975e9340c81a155befd3 (patch) | |
tree | aa637752032a39e3d9d9f6aae73df9f98c2b8c90 /source/blender/blenlib/BLI_winstuff.h | |
parent | 02caa057641218fef2bcc168719ac08c86f55505 (diff) |
fix for building with msvc
Diffstat (limited to 'source/blender/blenlib/BLI_winstuff.h')
-rw-r--r-- | source/blender/blenlib/BLI_winstuff.h | 8 |
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 |