mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
util/xmlconfig: Use os_get_option()
Enable the property_get() fallback on android. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20708>
This commit is contained in:
parent
720c842c50
commit
b392d57042
1 changed files with 2 additions and 1 deletions
|
|
@ -59,6 +59,7 @@ static inline void regfree(regex_t* r) {}
|
|||
#include "strndup.h"
|
||||
#include "u_process.h"
|
||||
#include "os_file.h"
|
||||
#include "os_misc.h"
|
||||
|
||||
/* For systems like Hurd */
|
||||
#ifndef PATH_MAX
|
||||
|
|
@ -382,7 +383,7 @@ driParseOptionInfo(driOptionCache *info,
|
|||
/* Built-in default values should always be valid. */
|
||||
assert(checkValue(optval, optinfo));
|
||||
|
||||
char *envVal = getenv(name);
|
||||
const char *envVal = os_get_option(name);
|
||||
if (envVal != NULL) {
|
||||
driOptionValue v;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue