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:
1 parent
996b845d68
commit
e0b200caa6
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user