diff --git a/configure.in b/configure.in index 855a9ef19..5f7e14a96 100644 --- a/configure.in +++ b/configure.in @@ -232,6 +232,8 @@ AC_ARG_WITH(edje-cc, ]) AC_SUBST(edje_cc) +AC_DEFINE(E_INTERNAL, 1, "This define can be used to wrap internal E stuff, as config.h isn't exported") + AC_OUTPUT([ Makefile diff --git a/src/bin/e_intl.h b/src/bin/e_intl.h index b4b8719dc..764b5cad4 100644 --- a/src/bin/e_intl.h +++ b/src/bin/e_intl.h @@ -3,8 +3,10 @@ */ #ifdef E_TYPEDEFS +#if E_INTERNAL #define _(str) gettext(str) #define d_(str, dom) dgettext(PACKAGE dom, str) +#endif /* This macro is used to just mark string for translation, this is useful * for string lists which are not dynamically allocated