summaryrefslogtreecommitdiffstats
path: root/subsurface-core/windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/windows.c')
-rw-r--r--subsurface-core/windows.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/subsurface-core/windows.c b/subsurface-core/windows.c
index a2386fd83..58d3beaad 100644
--- a/subsurface-core/windows.c
+++ b/subsurface-core/windows.c
@@ -446,3 +446,9 @@ void subsurface_console_exit(void)
FreeConsole();
#endif
}
+
+bool subsurface_user_is_root()
+{
+ /* FIXME: Detect admin rights */
+ return (false);
+}