[Bf-blender-cvs] [baa1ae0] master: Fix MinGW32 compilation

Antony Riakiotakis noreply at git.blender.org
Sat Jan 4 14:39:25 CET 2014


Commit: baa1ae0749970e55217409519be18f97efe2d692
Author: Antony Riakiotakis
Date:   Sat Jan 4 13:22:19 2014 +0200
https://developer.blender.org/rBbaa1ae0749970e55217409519be18f97efe2d692

Fix MinGW32 compilation

===================================================================

M	source/blender/blenlib/BLI_winstuff.h

===================================================================

diff --git a/source/blender/blenlib/BLI_winstuff.h b/source/blender/blenlib/BLI_winstuff.h
index e75ec7e..25e4ce0 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




More information about the Bf-blender-cvs mailing list