diff options
author | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2015-11-02 19:39:55 -0200 |
---|---|---|
committer | Nicolas Aguirre <aguirre.nicolas@gmail.com> | 2015-11-12 10:15:03 +0100 |
commit | 2b7d4f5767839d62fd0be49c07655536fc9093de (patch) | |
tree | 76a2c318f6bf96835133b1645b3fb596e9a482eb | |
parent | 517ea1fc395d84def39bde4aaf9f293d52568c4f (diff) | |
download | elementary-2b7d4f5767839d62fd0be49c07655536fc9093de.tar.gz |
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.
-rw-r--r-- | src/lib/Elementary.hh.in | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/Elementary.hh.in b/src/lib/Elementary.hh.in index 9075c3c09..51f31270f 100644 --- a/src/lib/Elementary.hh.in +++ b/src/lib/Elementary.hh.in @@ -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 |