From baa1ae0749970e55217409519be18f97efe2d692 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Sat, 4 Jan 2014 13:22:19 +0200 Subject: Fix MinGW32 compilation --- source/blender/blenlib/BLI_winstuff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib/BLI_winstuff.h') 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 -- cgit v1.2.3