mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
auxiliary/os: Don't implement os_get_option() on embedded builds.
Let it be defined externally instead, allowing setting mechanisms other than environment variables. Reviewed-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Matthew McClure <mcclurem@vmware.com>
This commit is contained in:
parent
84e71ef2ee
commit
60aea30115
1 changed files with 2 additions and 0 deletions
|
|
@ -96,11 +96,13 @@ os_log_message(const char *message)
|
|||
}
|
||||
|
||||
|
||||
#if !defined(PIPE_SUBSYSTEM_EMBEDDED)
|
||||
const char *
|
||||
os_get_option(const char *name)
|
||||
{
|
||||
return getenv(name);
|
||||
}
|
||||
#endif /* !PIPE_SUBSYSTEM_EMBEDDED */
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue