From 4ee16d44c2da8a318b30caf7f5ae0ff00654e080 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 28 Nov 2016 13:26:22 -0600 Subject: [PATCH] Fix macro redef errors on some compilers. --- src/engine/function.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/function.c b/src/engine/function.c index bd42237e0..5f244e286 100644 --- a/src/engine/function.c +++ b/src/engine/function.c @@ -32,7 +32,9 @@ /* */ #ifndef FUNCTION_DEBUG_PROFILE +#undef PROFILE_ENTER_LOCAL #define PROFILE_ENTER_LOCAL(x) +#undef PROFILE_EXIT_LOCAL #define PROFILE_EXIT_LOCAL(x) #endif