raster pushed a commit to branch master.

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

commit 6ca000a257ea907a70fd5495d4b33167b65eb256
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Fri Apr 17 20:20:50 2020 +0100

    only define beta api defines if not defined in e.h
---
 src/bin/e.h | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/bin/e.h b/src/bin/e.h
index 1407bcfba..dd8c35b8f 100644
--- a/src/bin/e.h
+++ b/src/bin/e.h
@@ -17,8 +17,12 @@
 # endif
 
 #ifdef HAVE_WAYLAND
-# define EFL_EO_API_SUPPORT
-# define EFL_BETA_API_SUPPORT
+# ifndef EFL_EO_API_SUPPORT
+#  define EFL_EO_API_SUPPORT
+# endif
+# ifndef EFL_BETA_API_SUPPORT
+#  define EFL_BETA_API_SUPPORT
+# endif
 #endif
 
 # define USE_IPC
@@ -111,7 +115,9 @@ void *alloca (size_t);
 # endif
 
 // XXX: FIXME: TMP solution for window stack until api is settled
-#define EFL_BETA_API_SUPPORT
+# ifndef EFL_BETA_API_SUPPORT
+#  define EFL_BETA_API_SUPPORT
+# endif
 
 
 # include <setjmp.h>

-- 


Reply via email to