summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-11-02 19:39:55 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-11-02 19:39:55 -0200
commit3e29939dba0698d7729c85ae4c53f798e44c3239 (patch)
tree76a2c318f6bf96835133b1645b3fb596e9a482eb
parent9115c17b70a311d6799c14dd5793bc1c4a89c8c5 (diff)
downloadelementary-3e29939dba0698d7729c85ae4c53f798e44c3239.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.in8
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