[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60684] trunk/blender/intern/guardedalloc/ intern/mallocn_intern.h: Fix FreeBSD build with recent malloc changes, patch by Shane Ambler.
Brecht Van Lommel
brechtvanlommel at pandora.be
Fri Oct 11 16:41:00 CEST 2013
Revision: 60684
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60684
Author: blendix
Date: 2013-10-11 14:41:00 +0000 (Fri, 11 Oct 2013)
Log Message:
-----------
Fix FreeBSD build with recent malloc changes, patch by Shane Ambler.
Modified Paths:
--------------
trunk/blender/intern/guardedalloc/intern/mallocn_intern.h
Modified: trunk/blender/intern/guardedalloc/intern/mallocn_intern.h
===================================================================
--- trunk/blender/intern/guardedalloc/intern/mallocn_intern.h 2013-10-11 12:50:19 UTC (rev 60683)
+++ trunk/blender/intern/guardedalloc/intern/mallocn_intern.h 2013-10-11 14:41:00 UTC (rev 60684)
@@ -54,6 +54,8 @@
#if defined(__linux__)
# include <malloc.h>
# define HAVE_MALLOC_STATS
+#elif defined(__FreeBSD__)
+# include <malloc_np.h>
#elif defined(__APPLE__)
# include <malloc/malloc.h>
# define malloc_usable_size malloc_size
More information about the Bf-blender-cvs
mailing list