diff options
author | Weijia Wang <8018380-wegank@users.noreply.gitlab.com> | 2022-12-04 10:46:37 +0300 |
---|---|---|
committer | Antenore Gatta (tmow) <antenore@simbiosi.org> | 2022-12-04 10:46:37 +0300 |
commit | 4d8767e3699c65846ab945ad6802971eb1e72874 (patch) | |
tree | 6482f0661c4503b0e41257062a31871be3b743b4 /plugins | |
parent | b07f58d287d164741d0c61fc035aa3b9d1b5c5ce (diff) |
Initial macOS support
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/python_wrapper/python_wrapper_plugin.c | 2 | ||||
-rw-r--r-- | plugins/rdp/rdp_plugin.c | 2 | ||||
-rw-r--r-- | plugins/rdp/rdp_plugin.h | 2 | ||||
-rw-r--r-- | plugins/x2go/x2go_plugin.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/python_wrapper/python_wrapper_plugin.c b/plugins/python_wrapper/python_wrapper_plugin.c index 858fc4557..c85d46154 100644 --- a/plugins/python_wrapper/python_wrapper_plugin.c +++ b/plugins/python_wrapper/python_wrapper_plugin.c @@ -38,7 +38,7 @@ #include <gtk/gtk.h> #ifdef GDK_WINDOWING_X11 #include <gdk/gdkx.h> -#else +#elif defined(GDK_WINDOWING_WAYLAND) #include <gdk/gdkwayland.h> #endif #include "config.h" diff --git a/plugins/rdp/rdp_plugin.c b/plugins/rdp/rdp_plugin.c index a48819ea6..0639aba41 100644 --- a/plugins/rdp/rdp_plugin.c +++ b/plugins/rdp/rdp_plugin.c @@ -80,7 +80,7 @@ #include <X11/Xlib.h> #include <X11/XKBlib.h> #include <gdk/gdkx.h> -#else +#elif defined(GDK_WINDOWING_WAYLAND) #include <gdk/gdkwayland.h> #endif diff --git a/plugins/rdp/rdp_plugin.h b/plugins/rdp/rdp_plugin.h index f48fab5a2..b93a22597 100644 --- a/plugins/rdp/rdp_plugin.h +++ b/plugins/rdp/rdp_plugin.h @@ -49,7 +49,7 @@ #include <freerdp/client/disp.h> #ifdef GDK_WINDOWING_X11 #include <gdk/gdkx.h> -#else +#elif defined(GDK_WINDOWING_WAYLAND) #include <gdk/gdkwayland.h> #endif diff --git a/plugins/x2go/x2go_plugin.c b/plugins/x2go/x2go_plugin.c index 8f26f56b8..8d2e956f3 100644 --- a/plugins/x2go/x2go_plugin.c +++ b/plugins/x2go/x2go_plugin.c @@ -47,7 +47,7 @@ #include <gtk/gtkx.h> #ifdef GDK_WINDOWING_X11 #include <gdk/gdkx.h> -#else +#elif defined(GDK_WINDOWING_WAYLAND) #include <gdk/gdkwayland.h> #endif |