elementary: protect from stall include.

This should be reverted before next release as this header was only
there during this release cycle.
This commit is contained in:
Cedric Bail 2017-11-14 20:14:44 -08:00
parent 88b2e28759
commit 07da1facaa
2 changed files with 8 additions and 1 deletions

View File

@ -67,6 +67,7 @@
#ifdef __EFL_UI_IS_REQUIRED
# define __EFL_UI(...) __VA_ARGS__
# define __EFL_UI_IS_DEFINED
#else
# define __EFL_UI(...)
#endif

View File

@ -96,7 +96,13 @@ extern EAPI double _elm_startup_time;
#define ELM_MAIN() int main(int argc, char **argv) { int ret__; _elm_startup_time = ecore_time_unix_get(); ret__ = elm_quicklaunch_fallback(argc, argv); elm_shutdown(); return ret__; }
#endif
#include "Efl_Ui.h"
#define __EFL_UI_IS_REQUIRED
#include "efl_general.h"
#ifndef __EFL_UI_IS_DEFINED
# error "You have an old efl_general.h installed in your local include/elementary-1/ remove it first."
#endif
/**************************************************************************/
/* General calls */