summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2017-11-09 14:33:46 -0800
committerCedric Bail <cedric@osg.samsung.com>2017-11-09 15:13:37 -0800
commit66c46f052832a98b2e6c09d7853e9557f03287c3 (patch)
tree559d9f2820fc2bbd5a2c283d3aadf9c13e1e209a
parent4d41f95106bc00e9e59eadca6ecac516a576bd2a (diff)
downloadefl-66c46f052832a98b2e6c09d7853e9557f03287c3.tar.gz
elementary: allow efl_general.h to be included multiple time.
-rw-r--r--src/lib/elementary/efl_general.h13
1 files changed, 13 insertions, 0 deletions
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