Fix static build with libdecor 0.2.0
(cherry picked from commit 4ce935b910)
This commit is contained in:
1 parent
5dfb0c19c8
commit
8030e7546a
1 file changed
+2
-2
@@ -219,10 +219,10 @@ SDL_WAYLAND_SYM(int, libdecor_dispatch, (struct libdecor *, int))
|
|||||||
|
|
||||||
#if defined(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR) || defined(SDL_HAVE_LIBDECOR_GET_MIN_MAX)
|
#if defined(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR) || defined(SDL_HAVE_LIBDECOR_GET_MIN_MAX)
|
||||||
/* Only found in libdecor 0.1.1 or higher, so failure to load them is not fatal. */
|
/* Only found in libdecor 0.1.1 or higher, so failure to load them is not fatal. */
|
||||||
SDL_WAYLAND_SYM_OPT(void, libdecor_frame_get_min_content_size, (struct libdecor_frame *,\
|
SDL_WAYLAND_SYM_OPT(void, libdecor_frame_get_min_content_size, (const struct libdecor_frame *,\
|
||||||
int *,\
|
int *,\
|
||||||
int *))
|
int *))
|
||||||
SDL_WAYLAND_SYM_OPT(void, libdecor_frame_get_max_content_size, (struct libdecor_frame *,\
|
SDL_WAYLAND_SYM_OPT(void, libdecor_frame_get_max_content_size, (const struct libdecor_frame *,\
|
||||||
int *,\
|
int *,\
|
||||||
int *))
|
int *))
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user