[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60579] trunk/blender/source/blender/ blenlib/intern/BLI_mempool.c: Build fix (issue could happen with scons, reported by ebrain on IRC, thanks).

Bastien Montagne montagne29 at wanadoo.fr
Mon Oct 7 09:39:59 CEST 2013


Revision: 60579
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60579
Author:   mont29
Date:     2013-10-07 07:39:58 +0000 (Mon, 07 Oct 2013)
Log Message:
-----------
Build fix (issue could happen with scons,reported by ebrain on IRC, thanks).

Var declared in an #ifdef DEBUG, but used in an #ifndef NDEBUG?\226?\128?\166

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

Modified: trunk/blender/source/blender/blenlib/intern/BLI_mempool.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/BLI_mempool.c	2013-10-06 23:53:40 UTC (rev 60578)
+++ trunk/blender/source/blender/blenlib/intern/BLI_mempool.c	2013-10-07 07:39:58 UTC (rev 60579)
@@ -66,7 +66,7 @@
 /* when undefined, merge the allocs for BLI_mempool_chunk and its data */
 // #define USE_DATA_PTR
 
-#ifdef DEBUG
+#ifndef NDEBUG
 static bool mempool_debug_memset = false;
 #endif
 
@@ -632,7 +632,7 @@
 	}
 }
 
-#ifdef DEBUG
+#ifndef NDEBUG
 void BLI_mempool_set_memory_debug(void)
 {
 	mempool_debug_memset = true;




More information about the Bf-blender-cvs mailing list