elementary: allow efl_general.h to be included multiple time.

This commit is contained in:
Cedric Bail 2017-11-09 14:33:46 -08:00
parent 4d41f95106
commit 66c46f0528
1 changed files with 13 additions and 0 deletions

View File

@ -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