mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-24 16:12:23 +00:00
Fix __VA_OPT__ macro invocations
This commit is contained in:
parent
65e6579c56
commit
67b88e46b0
@ -225,7 +225,7 @@ struct wlr_drm_layer *get_drm_layer(struct wlr_drm_backend *drm,
|
||||
#define wlr_drm_conn_log(conn, verb, fmt, ...) \
|
||||
wlr_log(verb, "connector %s: " fmt, conn->name __VA_OPT__(,) __VA_ARGS__)
|
||||
#define wlr_drm_conn_log_errno(conn, verb, fmt, ...) \
|
||||
wlr_log_errno(verb, "connector %s: " fmt, conn->name __VA_OPT(,) __VA_ARGS__)
|
||||
wlr_log_errno(verb, "connector %s: " fmt, conn->name __VA_OPT__(,) __VA_ARGS__)
|
||||
|
||||
#else
|
||||
|
||||
|
@ -518,7 +518,7 @@ void vulkan_change_layout(VkCommandBuffer cb, VkImage img,
|
||||
#if __STDC_VERSION__ >= 202311L
|
||||
|
||||
#define wlr_vk_error(fmt, res, ...) wlr_log(WLR_ERROR, fmt ": %s (%d)", \
|
||||
vulkan_strerror(res), res __VA_OPT(,) __VA_ARGS__)
|
||||
vulkan_strerror(res), res __VA_OPT__(,) __VA_ARGS__)
|
||||
|
||||
#else
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user