util: refactor to use DETECT_OS_ANDROID
except leaving u_endian.h behind to use __ANDROID__ directly to be consistent with the rest in that file, which deserves a different refactor Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27374>
This commit is contained in:
@@ -179,7 +179,7 @@ debug_backtrace_print(FILE *f,
|
||||
frame_ip(&backtrace[i]));
|
||||
}
|
||||
}
|
||||
#elif defined(ANDROID)
|
||||
#elif DETECT_OS_ANDROID
|
||||
/* Not implemented here; see u_debug_stack_android.cpp */
|
||||
#else /* ! HAVE_LIBUNWIND */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user