[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50931] trunk/blender/source/blender/ blenlib/intern/fileops.c: Fix compilation issue on MinGW, thanks to Sergey for the fix

Antony Riakiotakis kalast at gmail.com
Thu Sep 27 17:49:15 CEST 2012


Revision: 50931
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50931
Author:   psy-fi
Date:     2012-09-27 15:49:15 +0000 (Thu, 27 Sep 2012)
Log Message:
-----------
Fix compilation issue on MinGW, thanks to Sergey for the fix

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

Modified: trunk/blender/source/blender/blenlib/intern/fileops.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/fileops.c	2012-09-27 15:34:48 UTC (rev 50930)
+++ trunk/blender/source/blender/blenlib/intern/fileops.c	2012-09-27 15:49:15 UTC (rev 50931)
@@ -42,6 +42,9 @@
 #include "zlib.h"
 
 #ifdef WIN32
+#ifdef __MINGW32__
+#include <ctype.h>
+#endif
 #include <io.h>
 #  include "BLI_winstuff.h"
 #  include "BLI_callbacks.h"




More information about the Bf-blender-cvs mailing list