mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-22 18:20:06 +01:00
Use the LIBINPUT_VERSION define, not the normal VERSION
Not that it really matters, but given we're already setting it anyway... Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
This commit is contained in:
parent
996b845d68
commit
e0b200caa6
1 changed files with 2 additions and 1 deletions
|
|
@ -34,11 +34,12 @@
|
|||
|
||||
#include "libinput.h"
|
||||
#include "libinput-util.h"
|
||||
#include "libinput-version.h"
|
||||
|
||||
#if LIBINPUT_VERSION_MICRO >= 90
|
||||
#define HTTP_DOC_LINK "https://wayland.freedesktop.org/libinput/doc/latest/"
|
||||
#else
|
||||
#define HTTP_DOC_LINK "https://wayland.freedesktop.org/libinput/doc/" VERSION "/"
|
||||
#define HTTP_DOC_LINK "https://wayland.freedesktop.org/libinput/doc/" LIBINPUT_VERSION "/"
|
||||
#endif
|
||||
|
||||
struct libinput_source;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue