derekf pushed a commit to branch master.

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

commit db9e70708a809c3b29eb5bbbbe5d36f89db6a216
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Thu Nov 9 12:39:24 2017 -0600

    Make e_gadget_runner.c compile on efl 1.20
    
    It won't work, but it won't fail to build.  Temporary hack until 1.21
    is released.
---
 src/bin/e_gadget_runner.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/src/bin/e_gadget_runner.c b/src/bin/e_gadget_runner.c
index 6f14bea91..eb11b6ecb 100644
--- a/src/bin/e_gadget_runner.c
+++ b/src/bin/e_gadget_runner.c
@@ -8,6 +8,26 @@
 # pragma GCC diagnostic ignored "-Wformat-truncation"
 #endif
 
+#ifndef EFL_VERSION_1_21
+static void efl_wl_aspect_set(Evas_Object *obj EINA_UNUSED, Eina_Bool set 
EINA_UNUSED)
+{
+}
+
+static void efl_wl_minmax_set(Evas_Object *obj EINA_UNUSED, Eina_Bool set 
EINA_UNUSED)
+{
+}
+
+static void *efl_wl_global_add(Evas_Object *obj EINA_UNUSED, const void 
*interface EINA_UNUSED, uint32_t version EINA_UNUSED, void *data EINA_UNUSED, 
void *bind_cb EINA_UNUSED)
+{
+   return NULL;
+}
+
+static Eina_Bool efl_wl_surface_extract(Evas_Object *surface EINA_UNUSED)
+{
+   return EINA_FALSE;
+}
+#endif
+
 typedef enum
 {
    EXIT_MODE_RESTART,

-- 


Reply via email to