[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19549] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/app_blender/AppView.h: Tweaked a preprocessor conditional statement to support MinGW

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Sun Apr 5 18:20:41 CEST 2009


Revision: 19549
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19549
Author:   kjym3
Date:     2009-04-05 18:20:41 +0200 (Sun, 05 Apr 2009)

Log Message:
-----------
Tweaked a preprocessor conditional statement to support MinGW
(tested with gcc version 3.4.5 (mingw-vista special r3), SCons
1.2.0, and Python 2.5.2).

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/app_blender/AppView.h

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/app_blender/AppView.h
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/app_blender/AppView.h	2009-04-05 14:55:50 UTC (rev 19548)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/app_blender/AppView.h	2009-04-05 16:20:41 UTC (rev 19549)
@@ -1,7 +1,7 @@
 #ifndef  APPVIEW_H
 # define APPVIEW_H
 
-# ifndef WIN32
+# if !defined(WIN32) || defined(__GNUC__)
 #  include <algorithm>
 using namespace std;
 #  define __min(x,y) (min(x,y))





More information about the Bf-blender-cvs mailing list