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:
Peter Hutterer 2016-11-30 17:49:52 +10:00
parent 996b845d68
commit e0b200caa6

View file

@ -34,11 +34,12 @@
#include "libinput.h" #include "libinput.h"
#include "libinput-util.h" #include "libinput-util.h"
#include "libinput-version.h"
#if LIBINPUT_VERSION_MICRO >= 90 #if LIBINPUT_VERSION_MICRO >= 90
#define HTTP_DOC_LINK "https://wayland.freedesktop.org/libinput/doc/latest/" #define HTTP_DOC_LINK "https://wayland.freedesktop.org/libinput/doc/latest/"
#else #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 #endif
struct libinput_source; struct libinput_source;