aboutsummaryrefslogtreecommitdiffstats
path: root/src/gettext.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-01-21 12:41:21 +0000
committerWerner Koch <[email protected]>2010-01-21 12:41:21 +0000
commit7664da8dde0d37fc6a8f1061742a175e69d0414f (patch)
tree2f599fd95403a2302f9c1680c9a10e9ed1ac1a69 /src/gettext.h
parentFix w32ce strerror. (diff)
downloadlibgpg-error-7664da8dde0d37fc6a8f1061742a175e69d0414f.tar.gz
libgpg-error-7664da8dde0d37fc6a8f1061742a175e69d0414f.zip
Finished W32CE support.
Diffstat (limited to 'src/gettext.h')
-rw-r--r--src/gettext.h17
1 files changed, 9 insertions, 8 deletions
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 <libintl.h>
-#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 */