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:
Felipe Magno de Almeida 2015-11-02 19:39:55 -02:00
parent bdf70f176e
commit 440ab875fb
1 changed files with 2 additions and 6 deletions

View File

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