From: José Fonseca Date: Tue, 9 Dec 2008 10:35:52 +0000 (+0900) Subject: gallium: Abort by default on windows user space. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ce2a40a732923461142d371548ba3243791422e;p=mesa.git gallium: Abort by default on windows user space. --- diff --git a/src/gallium/auxiliary/util/p_debug.c b/src/gallium/auxiliary/util/p_debug.c index 6ff3e6e0a62..125f3daf00b 100644 --- a/src/gallium/auxiliary/util/p_debug.c +++ b/src/gallium/auxiliary/util/p_debug.c @@ -329,7 +329,7 @@ void _debug_assert_fail(const char *expr, const char *function) { _debug_printf("%s:%u:%s: Assertion `%s' failed.\n", file, line, function, expr); -#if defined(PIPE_OS_WINDOWS) +#if defined(PIPE_OS_WINDOWS) && !defined(PIPE_SUBSYSTEM_WINDOWS_USER) if (debug_get_bool_option("GALLIUM_ABORT_ON_ASSERT", FALSE)) #else if (debug_get_bool_option("GALLIUM_ABORT_ON_ASSERT", TRUE))