summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2016-12-28 23:22:33 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-12-28 22:40:18 -0800
commit38474f2d47a8d43f417abf5f3341205b0888e87a (patch)
tree11f9a2214c5770e66f493aa8a6d2522b58d74cb3 /core
parent6203433ff35ab9232c61823f440bcdea07447104 (diff)
downloadsubsurface-38474f2d47a8d43f417abf5f3341205b0888e87a.tar.gz
android: Add a subsurface_user_is_root for android
This is to compile the desktop ui for android Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r--core/android.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/android.cpp b/core/android.cpp
index 3631b07a1..ef55f083b 100644
--- a/core/android.cpp
+++ b/core/android.cpp
@@ -196,4 +196,9 @@ void subsurface_console_exit(void)
{
/* NOP */
}
+
+bool subsurface_user_is_root()
+{
+ return false;
+}
}