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:
authorAntony Riakiotakis <kalast@gmail.com>2014-01-04 15:22:19 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-01-04 15:39:10 +0400
commitbaa1ae0749970e55217409519be18f97efe2d692 (patch)
treeb2618498daa99d2ac9c8837d4bdba74f11a249ca /source/blender/blenlib/BLI_winstuff.h
parent1db7f2f93d9d7a119be7998f5acb4a8f9547d8b9 (diff)
Fix MinGW32 compilation
Diffstat (limited to 'source/blender/blenlib/BLI_winstuff.h')
-rw-r--r--source/blender/blenlib/BLI_winstuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_winstuff.h b/source/blender/blenlib/BLI_winstuff.h
index e75ec7eef2c..25e4ce0be18 100644
--- a/source/blender/blenlib/BLI_winstuff.h
+++ b/source/blender/blenlib/BLI_winstuff.h
@@ -94,7 +94,7 @@ extern "C" {
/* defines for using ISO C++ conformant names */
#define snprintf _snprintf
-#ifdef _MSC_VER
+#if defined(MSC_VER) || (defined(FREE_WINDOWS) && !defined(FREE_WINDOWS64))
# define R_OK 4
# define W_OK 2
// not accepted by access() on windows