stefan pushed a commit to branch efl-1.13.

http://git.enlightenment.org/core/efl.git/commit/?id=b58b4f6c3f16b9d1cc92f80ce605e6f73f14764a

commit b58b4f6c3f16b9d1cc92f80ce605e6f73f14764a
Author: Stefan Schmidt <[email protected]>
Date:   Thu Feb 12 18:37:42 2015 +0100

    ecore/drm: Fix libinput >= 0.8 check
    
    We need #if here as LIBINPUT_HIGHER_08 will be either 0 or 1
    
    @fix
---
 src/lib/ecore_drm/ecore_drm_evdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm/ecore_drm_evdev.c 
b/src/lib/ecore_drm/ecore_drm_evdev.c
index 483b5d3..fbc5959 100644
--- a/src/lib/ecore_drm/ecore_drm_evdev.c
+++ b/src/lib/ecore_drm/ecore_drm_evdev.c
@@ -521,7 +521,7 @@ _device_handle_axis(struct libinput_device *device, struct 
libinput_event_pointe
    ev->root.x = ev->x;
    ev->root.y = ev->y;
 
-#ifdef LIBINPUT_HIGHER_08
+#if LIBINPUT_HIGHER_08
    axis = LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL;
    if (libinput_event_pointer_has_axis(event, axis))
      ev->z = libinput_event_pointer_get_axis_value(event, axis);

-- 


Reply via email to