From 7ffcc176cd06bfba04ba1df9d053b7566234e49d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 30 Aug 2009 01:43:05 -0700 Subject: [PATCH] Fixed build failure in profiler. --- core/smn_profiler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/smn_profiler.cpp b/core/smn_profiler.cpp index a359e1ff..4fa8eca1 100644 --- a/core/smn_profiler.cpp +++ b/core/smn_profiler.cpp @@ -34,9 +34,7 @@ //Note: Do not add this to Linux yet, i haven't done the HPET timing research (if even available) //nonetheless we need accurate counting -#if defined PLATFORM_LINUX -#error "Not supported" -#endif +#if !defined PLATFORM_LINUX struct Profiler { @@ -183,3 +181,5 @@ REGISTER_NATIVES(profilerNatives) {"StopProfiling", StopProfiling}, {NULL, NULL}, }; +#endif +