summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-07-03 14:16:17 -0400
committerMarek Olšák <[email protected]>2018-07-04 21:16:57 -0400
commit7149bffe669a5067bc332d017e8a501474333a7f (patch)
tree78f5607729896a779950907afd82f24e1d0327c3 /src/util
parent2e1e6511f76370870b5cde10caa9ca3b6d0dc65f (diff)
gallium/os: use util_get_process_name when possible
Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/process.c b/src/util/process.c
index 992ba7f734a..449c7fa77c2 100644
--- a/src/util/process.c
+++ b/src/util/process.c
@@ -60,6 +60,8 @@ __getProgramName()
# define GET_PROGRAM_NAME() getprogname()
#elif defined(__APPLE__)
# define GET_PROGRAM_NAME() getprogname()
+#elif defined(ANDROID)
+# define GET_PROGRAM_NAME() getprogname()
#elif defined(__sun)
/* Solaris has getexecname() which returns the full path - return just
the basename to match BSD getprogname() */