Fixed build failure in profiler.

This commit is contained in:
David Anderson
2009-08-30 01:43:05 -07:00
parent 4a9650df80
commit 7ffcc176cd
+3 -3
View File
@@ -34,9 +34,7 @@
//Note: Do not add this to Linux yet, i haven't done the HPET timing research (if even available) //Note: Do not add this to Linux yet, i haven't done the HPET timing research (if even available)
//nonetheless we need accurate counting //nonetheless we need accurate counting
#if defined PLATFORM_LINUX #if !defined PLATFORM_LINUX
#error "Not supported"
#endif
struct Profiler struct Profiler
{ {
@@ -183,3 +181,5 @@ REGISTER_NATIVES(profilerNatives)
{"StopProfiling", StopProfiling}, {"StopProfiling", StopProfiling},
{NULL, NULL}, {NULL, NULL},
}; };
#endif