[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30385] trunk/blender/source/blender/ blenlib/intern/storage.c: fix for one of the problems with [#22846] GCC 4.4 .1 support in Windows

Campbell Barton ideasman42 at gmail.com
Thu Jul 15 19:36:01 CEST 2010


Revision: 30385
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30385
Author:   campbellbarton
Date:     2010-07-15 19:36:00 +0200 (Thu, 15 Jul 2010)

Log Message:
-----------
fix for one of the problems with [#22846] GCC 4.4.1 support in Windows

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/intern/storage.c

Modified: trunk/blender/source/blender/blenlib/intern/storage.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/storage.c	2010-07-15 16:56:04 UTC (rev 30384)
+++ trunk/blender/source/blender/blenlib/intern/storage.c	2010-07-15 17:36:00 UTC (rev 30385)
@@ -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>	





More information about the Bf-blender-cvs mailing list