Fixed build failure in profiler.
This commit is contained in:
parent
4a9650df80
commit
7ffcc176cd
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user