Commit 8fef36c6 authored by Jan Djärv's avatar Jan Djärv
Browse files

* conf_post.h (assume): Fix compiler error: x shall be cond.

parent cd9356f2
2013-09-22 Jan Djärv <jan.h.d@swipnet.se>
* conf_post.h (assume): Fix compiler error: x shall be cond.
2013-09-22 Daniel Colascione <dancol@dancol.org>
* xfns.c (x_get_monitor_attributes): Suppress unused variable
......
......@@ -253,7 +253,7 @@ extern void _DebPrint (const char *fmt, ...);
#if defined lint
# define assume(cond) ((cond) ? (void) 0 : abort ())
#elif (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) || __GNUC__ > 4
# define assume(cond) ((x) || (__builtin_unreachable(), 0))
# define assume(cond) ((cond) || (__builtin_unreachable(), 0))
#elif defined __MSC_VER
# define assume(cond) __assume ((cond))
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment