projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote branch 'origin/master' into lp-binning
[mesa.git]
/
src
/
gallium
/
auxiliary
/
util
/
u_debug.h
diff --git
a/src/gallium/auxiliary/util/u_debug.h
b/src/gallium/auxiliary/util/u_debug.h
index abd834c741a693560bd97a3dbd62348baf9a300c..facc30a5534ca8f744a9fd7180caa2d7f1f8d1e9 100644
(file)
--- a/
src/gallium/auxiliary/util/u_debug.h
+++ b/
src/gallium/auxiliary/util/u_debug.h
@@
-188,7
+188,7
@@
void _debug_assert_fail(const char *expr,
#ifdef DEBUG
#define debug_assert(expr) ((expr) ? (void)0 : _debug_assert_fail(#expr, __FILE__, __LINE__, __FUNCTION__))
#else
-#define debug_assert(expr)
((void)0
)
+#define debug_assert(expr)
do { } while (0 && (expr)
)
#endif