summaryrefslogtreecommitdiff
path: root/lib/gnutls_str.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2015-06-20 12:27:54 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2015-06-20 12:28:56 +0200
commit85fc3172e9d3928048296c62810adf27f7f667e6 (patch)
tree8489957bc15295d3ad794c67613e2c6046041fa7 /lib/gnutls_str.h
parent830b83f108b038d055e72d80cb25fe9980fb936b (diff)
downloadgnutls-85fc3172e9d3928048296c62810adf27f7f667e6.tar.gz
move all gettext definitions in gnutls_str.h
Diffstat (limited to 'lib/gnutls_str.h')
-rw-r--r--lib/gnutls_str.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/gnutls_str.h b/lib/gnutls_str.h
index b372d1a490..016a538e32 100644
--- a/lib/gnutls_str.h
+++ b/lib/gnutls_str.h
@@ -23,14 +23,17 @@
#ifndef GNUTLS_STR_H
#define GNUTLS_STR_H
+#include <config.h>
#include <gnutls_int.h>
#include <gnutls_datum.h>
-#ifdef HAVE_DGETTEXT
+#ifdef HAVE_DCGETTEXT
# include "gettext.h"
# define _(String) dgettext (PACKAGE, String)
+# define N_(String) gettext_noop (String)
#else
# define _(String) String
+# define N_(String) String
#endif
void _gnutls_str_cpy(char *dest, size_t dest_tot_size, const char *src);