forked from enlightenment/efl
Remove #include for config.h from C++ public header
Removed #include for elementary_config.h if HAVE_CONFIG_H is defined. Which causes errors with external projects. Instead, defined the necessary macros to use the Eo API.
This commit is contained in:
parent
bdf70f176e
commit
440ab875fb
|
@ -11,12 +11,8 @@
|
|||
#error Do not include Elm C API headers before including Elementary.hh
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
extern "C" {
|
||||
#include <elementary_config.h>
|
||||
}
|
||||
#endif
|
||||
|
||||
#define EFL_BETA_API_SUPPORT 1
|
||||
#define EFL_EO_API_SUPPORT 1
|
||||
#define ELM_INTERNAL_API_ARGESFSDFEFC
|
||||
#define ELM_WIDGET_ITEM_PROTECTED
|
||||
|
||||
|
|
Loading…
Reference in New Issue