util: Unbreak usage of assert()/debug_assert() inside expressions.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 12 Dec 2014 14:06:17 +0000 (14:06 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 12 Dec 2014 14:19:53 +0000 (14:19 +0000)
commite75e677d288e67c3c05e7b8744e08cd73bdcbed8
treef08f219b3018f40ee4ed6ced0117b681586e4e04
parent92b85fba89851b85e7a50b1f6f90c05ecaacdcd5
util: Unbreak usage of assert()/debug_assert() inside expressions.

f0ba7d897d1c22202531acb70f134f2edc30557d made debug_assert()/assert()
unsafe for expressions, but only now that u_atomic.h started to rely on
them for Windows that this became an issue.

This fixes non-debug builds with MSVC.
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_debug.h