projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84e71ef
)
auxiliary/os: Don't implement os_get_option() on embedded builds.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 1 Sep 2015 22:29:17 +0000
(16:29 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 1 Sep 2015 22:29:17 +0000
(16:29 -0600)
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>
src/gallium/auxiliary/os/os_misc.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/os/os_misc.c
b/src/gallium/auxiliary/os/os_misc.c
index c46078bb07dfc4ad23632ec6d4160961b6f8c7da..d6b83e90e3ddddb028d2eef94d65294dd46a7c7e 100644
(file)
--- 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 */
/**