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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-03-13 23:48:07 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-03-13 23:48:07 +0400
commitdcbfa25bc8903fbffb563c6e0f5c89d94ea27ed3 (patch)
treedd5944eb1da4ac16d7a1c54de9c7ee39054e4f8b /source/blender/blenlib/BLI_winstuff.h
parent962865d19f4bd8639ac6c2064a3c82e5674e7802 (diff)
Fix #34551: blender crash rendering with save buffers.
Problem was the new usage of access() on Windows, this doesn't accept X_OK. Also wrapped _waccess so that UTF-8 paths work.
Diffstat (limited to 'source/blender/blenlib/BLI_winstuff.h')
-rw-r--r--source/blender/blenlib/BLI_winstuff.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_winstuff.h b/source/blender/blenlib/BLI_winstuff.h
index fe538fcb42a..20a4c3c274e 100644
--- a/source/blender/blenlib/BLI_winstuff.h
+++ b/source/blender/blenlib/BLI_winstuff.h
@@ -97,7 +97,8 @@ extern "C" {
#ifdef _MSC_VER
# define R_OK 4
# define W_OK 2
-# define X_OK 1
+// not accepted by access() on windows
+//# define X_OK 1
# define F_OK 0
# define PATH_MAX 4096
#endif