comp: fix build error due to define EFL_BETA_API_SUPPORT after including Ecore.h 11/213911/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.020957 accepted/tizen/5.5/unified/mobile/hotfix/20201027.080513 accepted/tizen/unified/20190923.011153 submit/tizen/20190917.043123 submit/tizen/20190919.052822 submit/tizen/20190923.005744 submit/tizen/20190923.215628 submit/tizen/20190924.053902 submit/tizen/20190924.220547 submit/tizen_5.5/20191031.000005 submit/tizen_5.5_mobile_hotfix/20201026.185105 tizen_5.5.m2_release
authorWoochanlee <wc0917.lee@samsung.com>
Mon, 16 Sep 2019 10:19:40 +0000 (19:19 +0900)
committerWoochanlee <wc0917.lee@samsung.com>
Mon, 16 Sep 2019 10:30:04 +0000 (19:30 +0900)
When Ecore.h is included, efl_gfx_types.eot.h does not included because of the the EFL_BETA_API_SUPPORT was not defined.
Then when Evas.h is included, the EFL_BETA_API_SUPPORT value is 1. It causes a build error.

Change-Id: Ifae99c029c93f2edf4df0a69b33aa31cc04c29eb

src/lib/compositor.c

index 295a097ec619f3863207db634ea3be1970d2a031..4b2230445a6d2fe9c953d531571dd0da84d038b5 100644 (file)
@@ -6,9 +6,9 @@
 #include <pthread.h>
 
 // EFL header
+#define EFL_BETA_API_SUPPORT 1
 #include <Eina.h>
 #include <Ecore.h>
-#define EFL_BETA_API_SUPPORT 1
 #include <Ecore_Wl2.h>
 // wayland compositor header
 #include <pepper.h>