From 91a1d0fc3ff885076d09efce5a25f7b86afd5d68 Mon Sep 17 00:00:00 2001 From: Seth Date: Sat, 23 Jun 2007 17:14:00 +0000 Subject: [PATCH] Replaced line 15 with #if defined(__GLIBC__) && !defined(NDEBUG) to fix problems regarding malloc hook on mac os x This was SVN commit r5211. --- source/ps/Profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ps/Profile.cpp b/source/ps/Profile.cpp index b1ba0b6b93..48443164ef 100644 --- a/source/ps/Profile.cpp +++ b/source/ps/Profile.cpp @@ -12,7 +12,7 @@ #include "ProfileViewer.h" #include "lib/timer.h" -#if GCC_VERSION && !defined(NDEBUG) +#if defined(__GLIBC__) && !defined(NDEBUG) # define GLIBC_MALLOC_HOOK # include # include "ThreadUtil.h"