glue for bindtextdomain

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23743 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-09-07 21:10:09 +00:00
parent d34ada788d
commit 08686d1b69

View File

@@ -116,11 +116,14 @@ struct sockaddr_dl;
#include <sys/file.h> #include <sys/file.h>
#endif #endif
#define HEIMDAL_TEXTDOMAIN "heimdal_krb5"
#ifdef HAVE_LIBINTL #ifdef HAVE_LIBINTL
#include <libintl.h> #include <libintl.h>
#define N_(x,y) dgettext("heimdal_krb5", x) #define N_(x,y) dgettext(HEIMDAL_TEXTDOMAIN, x)
#else #else
#define N_(x,y) (x) #define N_(x,y) (x)
#define bindtextdomain(package, localedir)
#endif #endif