mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +00:00
No privilege elevation is possible on emscripten.
This commit is contained in:
parent
fad09a452a
commit
b0174f2f3a
@ -22,6 +22,13 @@ bool IsElevated()
|
||||
return ret;
|
||||
}
|
||||
|
||||
#elif defined __EMSCRIPTEN__
|
||||
|
||||
bool IsElevated()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
#include <unistd.h>
|
||||
|
Loading…
Reference in New Issue
Block a user