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)
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 @@
1#ifdef EFL_BETA_API_SUPPORT 1#ifdef EFL_BETA_API_SUPPORT
2 2
3// This file is designed to be included again and again
4// so cleanup last inclusion before generating this one.
5#undef _EFL_VERSION_MICRO
6#undef _EFL_VERSION_REVISION
7#undef _EFL_VERSION_FLAVOR
8#undef _EFL_BUILD_ID
9#undef _EFL_APP_VERSION_SET
10#undef __EFL_MAIN_CONSTRUCTOR
11#undef __EFL_MAIN_DESTRUCTOR
12#undef __EFL_UI
13#undef EFL_MAIN
14#undef EFL_MAIN_EX
15
3#ifdef EFL_VERSION_MICRO 16#ifdef EFL_VERSION_MICRO
4# define _EFL_VERSION_MICRO EFL_VERSION_MICRO 17# define _EFL_VERSION_MICRO EFL_VERSION_MICRO
5#else 18#else