[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47139] branches/soc-2012-swiss_cheese/ source/blender/gpu/GPU_utility.h: Workaround for MinGW32 build error

Jason Wilkins Jason.A.Wilkins at gmail.com
Mon May 28 23:28:48 CEST 2012


Revision: 47139
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47139
Author:   jwilkins
Date:     2012-05-28 21:28:48 +0000 (Mon, 28 May 2012)
Log Message:
-----------
Workaround for MinGW32 build error

Modified Paths:
--------------
    branches/soc-2012-swiss_cheese/source/blender/gpu/GPU_utility.h

Modified: branches/soc-2012-swiss_cheese/source/blender/gpu/GPU_utility.h
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/gpu/GPU_utility.h	2012-05-28 21:25:17 UTC (rev 47138)
+++ branches/soc-2012-swiss_cheese/source/blender/gpu/GPU_utility.h	2012-05-28 21:28:48 UTC (rev 47139)
@@ -34,6 +34,12 @@
 
 
 
+/* XXX: temporary work around for MinGW32 build error */
+#ifdef __MINGW32__
+#undef GPU_ENABLE_STRING_MARKER
+#define GPU_ENABLE_STRING_MARKER 0
+#endif
+
 #ifndef GPU_ENABLE_STRING_MARKER
 #define GPU_ENABLE_STRING_MARKER 1
 #endif




More information about the Bf-blender-cvs mailing list