summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ug-manager.h2
-rw-r--r--include/ui-gadget.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/ug-manager.h b/include/ug-manager.h
index 5ce61f0..cd711dc 100644
--- a/include/ug-manager.h
+++ b/include/ug-manager.h
@@ -34,7 +34,7 @@ ui_gadget_h ugman_ug_load(ui_gadget_h parent,
int ugman_ug_del(ui_gadget_h ug);
int ugman_ug_del_all(void);
-#ifndef WAYLAND
+#ifndef UG_WAYLAND
int ugman_init(Display *disp, Window xid, void *win, enum ug_option opt);
#else
int ugman_init(void *win, enum ug_option opt);
diff --git a/include/ui-gadget.h b/include/ui-gadget.h
index 73a7510..7b2efe8 100644
--- a/include/ui-gadget.h
+++ b/include/ui-gadget.h
@@ -54,7 +54,7 @@
* @addtogroup UI_Gadget_For_User
* @{
*/
-#ifndef WAYLAND
+#ifndef UG_WAYLAND
#include <X11/Xlib.h>
#endif
@@ -217,7 +217,7 @@ struct ug_cbs {
* ...
* \endcode
*/
-#ifndef WAYLAND
+#ifndef UG_WAYLAND
int ug_init(Display *disp, Window xid, void *win, enum ug_option opt);
#else
int ug_init(void *win, enum ug_option opt);