mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#elif defined __EMSCRIPTEN__
|
||||||
|
|
||||||
|
bool IsElevated()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user