Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo F. Vescovi <mfvescovi@gmail.com>2014-05-26 11:37:54 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-06-02 14:26:38 +0400
commit9b23d9acec9aa88f1d810a40816b83b8d94df44b (patch)
tree12ddd0497a659f91b42e8b951b70735adb954ce5 /intern/guardedalloc
parent3e6c734eaa3ed3a12dccc84a3c39ecda050ccb37 (diff)
Fix compilation error non non-linux architectures
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r--intern/guardedalloc/intern/mallocn_intern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/guardedalloc/intern/mallocn_intern.h b/intern/guardedalloc/intern/mallocn_intern.h
index a9d559e48f9..7c8922dd407 100644
--- a/intern/guardedalloc/intern/mallocn_intern.h
+++ b/intern/guardedalloc/intern/mallocn_intern.h
@@ -51,7 +51,7 @@
#undef HAVE_MALLOC_STATS
-#if defined(__linux__) || (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__))
+#if defined(__linux__) || (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__)) || defined(__GLIBC__)
# include <malloc.h>
# define HAVE_MALLOC_STATS
#elif defined(__FreeBSD__)