From 7664da8dde0d37fc6a8f1061742a175e69d0414f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 21 Jan 2010 12:41:21 +0000 Subject: Finished W32CE support. --- src/gettext.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/gettext.h') diff --git a/src/gettext.h b/src/gettext.h index 5adda46..aba29db 100644 --- a/src/gettext.h +++ b/src/gettext.h @@ -23,15 +23,14 @@ #if ENABLE_NLS #if HAVE_W32_SYSTEM -/* Redirect the gettext calls to an internal implementation on W32 - targets. */ -# include "w32-gettext.h" -#else -/* Get declarations of GNU message catalog functions. */ + /* We have a gettext implementation in gpg-error.h which get + included anyway. */ +#else /*!HAVE_W32_SYSTEM*/ + /* Get declarations of GNU message catalog functions. */ # include -#endif +#endif /*!HAVE_W32_SYSTEM*/ -#else +#else /*!ENABLE_NLS*/ /* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which chokes if dcgettext is defined as a macro. So include it now, to make @@ -61,7 +60,7 @@ # define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname)) # define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset)) -#endif +#endif /*!ENABLE_NLS*/ /* A pseudo function call that serves as a marker for the automated extraction of messages, but does not call gettext(). The run-time @@ -72,4 +71,6 @@ initializer for static 'char[]' or 'const char[]' variables. */ #define gettext_noop(String) String + + #endif /* _LIBGETTEXT_H */ -- cgit v1.2.3