cedric pushed a commit to branch master.

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

commit 66c46f052832a98b2e6c09d7853e9557f03287c3
Author: Cedric Bail <ced...@osg.samsung.com>
Date:   Thu Nov 9 14:33:46 2017 -0800

    elementary: allow efl_general.h to be included multiple time.
---
 src/lib/elementary/efl_general.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/lib/elementary/efl_general.h b/src/lib/elementary/efl_general.h
index 4fd4a26ad7..b4ffdfe97a 100644
--- a/src/lib/elementary/efl_general.h
+++ b/src/lib/elementary/efl_general.h
@@ -1,5 +1,18 @@
 #ifdef EFL_BETA_API_SUPPORT
 
+// This file is designed to be included again and again
+// so cleanup last inclusion before generating this one.
+#undef _EFL_VERSION_MICRO
+#undef _EFL_VERSION_REVISION
+#undef _EFL_VERSION_FLAVOR
+#undef _EFL_BUILD_ID
+#undef _EFL_APP_VERSION_SET
+#undef __EFL_MAIN_CONSTRUCTOR
+#undef __EFL_MAIN_DESTRUCTOR
+#undef __EFL_UI
+#undef EFL_MAIN
+#undef EFL_MAIN_EX
+
 #ifdef EFL_VERSION_MICRO
 # define _EFL_VERSION_MICRO EFL_VERSION_MICRO
 #else

-- 


Reply via email to