No privilege elevation is possible on emscripten.

This commit is contained in:
Bartosz Taudul 2023-02-20 21:36:18 +01:00
parent fad09a452a
commit b0174f2f3a
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -22,6 +22,13 @@ bool IsElevated()
return ret;
}
#elif defined __EMSCRIPTEN__
bool IsElevated()
{
return false;
}
#else
#include <unistd.h>