diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-25 18:15:31 +0100 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2022-12-06 22:39:45 +0000 |
commit | 86fc2199f85ac0e1089bb7fd5a0b5cbc432bdb67 (patch) | |
tree | 3b97acbbdd4d2bf3b956d2e2594bd5b79958dfee /include/backend | |
parent | a4a40618adb287d6ebebf099ca4d64f39b7f7770 (diff) |
build: unify naming for HAVE_* defines
We sometimes used HAS_, sometimes polluted the LIBINPUT_ namespace,
etc.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/libinput.h | 2 | ||||
-rw-r--r-- | include/backend/x11.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/backend/libinput.h b/include/backend/libinput.h index 36c4794b..d469eb7c 100644 --- a/include/backend/libinput.h +++ b/include/backend/libinput.h @@ -72,7 +72,7 @@ void handle_pointer_button(struct libinput_event *event, struct wlr_pointer *pointer); void handle_pointer_axis(struct libinput_event *event, struct wlr_pointer *pointer); -#if LIBINPUT_HAS_SCROLL_VALUE120 +#if HAVE_LIBINPUT_SCROLL_VALUE120 void handle_pointer_axis_value120(struct libinput_event *event, struct wlr_pointer *pointer, enum wlr_axis_source source); #endif diff --git a/include/backend/x11.h b/include/backend/x11.h index 704d48f1..f66fed2a 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -19,7 +19,7 @@ #include "config.h" -#if HAS_XCB_ERRORS +#if HAVE_XCB_ERRORS #include <xcb/xcb_errors.h> #endif @@ -99,7 +99,7 @@ struct wlr_x11_backend { // The time we last received an event xcb_timestamp_t time; -#if HAS_XCB_ERRORS +#if HAVE_XCB_ERRORS xcb_errors_context_t *errors_context; #endif |