mirror of https://github.com/OpenRCT2/OpenRCT2.git
Don't report elevated process on Emscripten
This commit is contained in:
parent
56ab344603
commit
23ec1d29e7
|
@ -846,7 +846,11 @@ utf8* platform_get_username() {
|
||||||
|
|
||||||
bool platform_process_is_elevated()
|
bool platform_process_is_elevated()
|
||||||
{
|
{
|
||||||
|
#ifndef __EMSCRIPTEN__
|
||||||
return (geteuid() == 0);
|
return (geteuid() == 0);
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
|
#endif // __EMSCRIPTEN__
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue