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:
authorCampbell Barton <ideasman42@gmail.com>2010-07-15 21:36:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-15 21:36:00 +0400
commit5ae1687bd7894e1676f1a940f71b07d8a16bf234 (patch)
tree6997ea86fd65c2b261b136665fdc6eff39b70150 /source/blender/blenlib/intern/storage.c
parent02da5ecfed33139f90a8a35c37300e6d3f3034eb (diff)
fix for one of the problems with [#22846] GCC 4.4.1 support in Windows
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r--source/blender/blenlib/intern/storage.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c
index 3315e9645d4..4fb5ca77989 100644
--- a/source/blender/blenlib/intern/storage.c
+++ b/source/blender/blenlib/intern/storage.c
@@ -29,6 +29,11 @@
* Some really low-level file thingies.
*/
+/* needed for mingw & _stat64i32 */
+#ifdef FREE_WINDOWS
+# define __MSVCRT_VERSION__ 0x0800
+#endif
+
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>