mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
xmlconfig: use __progname when building for Android
__progname symbol and strrchr are available with bionic. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
parent
f3bb6bd9b3
commit
4d02b018f4
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ static const char *__getProgramName () {
|
|||
#endif
|
||||
|
||||
#if !defined(GET_PROGRAM_NAME)
|
||||
# if defined(__OpenBSD__) || defined(NetBSD) || defined(__UCLIBC__)
|
||||
# if defined(__OpenBSD__) || defined(NetBSD) || defined(__UCLIBC__) || defined(ANDROID)
|
||||
/* This is a hack. It's said to work on OpenBSD, NetBSD and GNU.
|
||||
* Rogelio M.Serrano Jr. reported it's also working with UCLIBC. It's
|
||||
* used as a last resort, if there is no documented facility available. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue