7b1520c4d9
The #ifndef doesn't work with the built-in static_assert from C++11, so it ends up getting redefined. It seems that there are other versions of static_assert internally in some C++ standard library implementations that have additional arguments, and these also get overwritten by the two-argument version here. Detect if we're using a suitably-recent version of C++ and avoid the redefintion in that case. Signed-off-by: Ray Smith <rsmith@brightsign.biz> |
||
---|---|---|
.. | ||
cairo-util.c | ||
cairo-util.h | ||
config-parser.c | ||
fd-util.h | ||
file-util.c | ||
file-util.h | ||
frame.c | ||
hash.c | ||
hash.h | ||
helpers.h | ||
image-loader.c | ||
image-loader.h | ||
matrix.c | ||
meson.build | ||
option-parser.c | ||
os-compatibility.c | ||
os-compatibility.h | ||
platform.h | ||
process-util.c | ||
process-util.h | ||
string-helpers.h | ||
timespec-util.h | ||
weston-assert.h | ||
weston-drm-fourcc.h | ||
weston-egl-ext.h | ||
xalloc.h | ||
xcb-xwayland.c | ||
xcb-xwayland.h |