From 002be41389452c705d14ba9c263c0e271f31f17b Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Mon, 5 Sep 2011 18:52:50 -0700 Subject: Mac OS X: Detect bindtextdomain In the style of libguestfs commit: 7581672c7893fd392ca10b47f044af327011f502 Signed-off-by: Alex Nelson --- sh/hivexsh.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sh/hivexsh.c') diff --git a/sh/hivexsh.c b/sh/hivexsh.c index a9b738e..410851b 100644 --- a/sh/hivexsh.c +++ b/sh/hivexsh.c @@ -100,8 +100,10 @@ int main (int argc, char *argv[]) { setlocale (LC_ALL, ""); +#ifdef HAVE_BINDTEXTDOMAIN bindtextdomain (PACKAGE, LOCALEBASEDIR); textdomain (PACKAGE); +#endif int c; const char *filename = NULL; -- cgit