Skip to content
Commit 62434fce authored by Christian Schoenebeck's avatar Christian Schoenebeck Committed by Vlad Zahorodnii
Browse files

Fix compile error with wl_output < v4

Listener members 'name' and 'description' of struct wl_output_listener
were added in version 4. With older versions it would therefore cause
a compiler error.

Check whether macros WL_OUTPUT_NAME_SINCE_VERSION and
WL_OUTPUT_DESCRIPTION_SINCE_VERSION are defined to assume whether
or not those two listener members exist.

Fixes: cb13afd8
parent 420e6475
Pipeline #238183 passed with stage
in 4 minutes and 28 seconds
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