e: fix E_INTERNAL use

SVN revision: 58297
This commit is contained in:
Boris Faure 2011-04-03 11:21:51 +00:00
parent 85ce486df8
commit d4a1030365
1 changed files with 7 additions and 8 deletions

View File

@ -1,7 +1,4 @@
#ifdef E_TYPEDEFS
#ifdef E_INTERNAL
#if E_INTERNAL
#ifdef HAVE_GETTEXT
#define _(str) gettext(str)
#define d_(str, dom) dgettext(PACKAGE dom, str)
@ -9,17 +6,18 @@
#define _(str) (str)
#define d_(str, dom) (str)
#endif
#endif
#endif
/* This macro is used to just mark string for translation, this is useful
* for string lists which are not dynamically allocated
*/
#define N_(str) (str)
typedef struct _E_Locale_Parts E_Locale_Parts;
#ifdef E_INTERNAL
#if E_INTERNAL
#ifdef E_TYPEDEFS
typedef struct _E_Locale_Parts E_Locale_Parts;
#endif
#else
#ifndef E_INTL_H
#define E_INTL_H
@ -60,3 +58,4 @@ EAPI char *e_intl_locale_parts_combine(E_Locale_Parts *locale_part
EAPI char *e_intl_locale_charset_canonic_get(const char *charset);
#endif
#endif
#endif