diff options
author | José Fonseca <jfonseca@vmware.com> | 2013-10-30 14:27:58 +0000 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2015-08-26 17:06:12 -0600 |
commit | 07be9a7845395376fc04eb3e148196c123444cf9 (patch) | |
tree | 4a2d9c672339ff1c0c122978f3c18a6e27910bc7 | |
parent | 66260a612d846282231bde07f29fd97188f34852 (diff) |
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>
-rw-r--r-- | src/gallium/auxiliary/os/os_misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/os/os_misc.c b/src/gallium/auxiliary/os/os_misc.c index c46078bb07..d6b83e90e3 100644 --- a/src/gallium/auxiliary/os/os_misc.c +++ b/src/gallium/auxiliary/os/os_misc.c @@ -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 */ /** |