gallium: Abort by default on windows user space.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 9 Dec 2008 10:35:52 +0000 (19:35 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 9 Dec 2008 10:35:52 +0000 (19:35 +0900)
src/gallium/auxiliary/util/p_debug.c

index 6ff3e6e..125f3da 100644 (file)
@@ -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))