aboutsummaryrefslogtreecommitdiff
path: root/libc/bionic/__bionic_get_shell_path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/__bionic_get_shell_path.cpp')
-rw-r--r--libc/bionic/__bionic_get_shell_path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/__bionic_get_shell_path.cpp b/libc/bionic/__bionic_get_shell_path.cpp
index 41162e93e..135281578 100644
--- a/libc/bionic/__bionic_get_shell_path.cpp
+++ b/libc/bionic/__bionic_get_shell_path.cpp
@@ -40,7 +40,7 @@ static const char* init_sh_path() {
* in $PATH for the vendor shell, simply return the system shell.
*/
-#ifdef __ANDROID_TREBLE__
+#ifdef TREBLE_LINKER_NAMESPACES
/* look for /system or /vendor prefix */
char exe_path[strlen(VENDOR_PREFIX)];
ssize_t len = readlink("/proc/self/exe", exe_path, sizeof(exe_path));