From: José Fonseca <[email protected]> Let it be defined externally instead, allowing setting mechanisms other than environment variables.
Reviewed-by: Zack Rusin <[email protected]> Reviewed-by: Matthew McClure <[email protected]> --- src/gallium/auxiliary/os/os_misc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/os/os_misc.c b/src/gallium/auxiliary/os/os_misc.c index c46078b..d6b83e9 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 */ /** -- 1.9.1 _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
