summaryrefslogtreecommitdiffstats
path: root/sh/hivexsh.c
diff options
context:
space:
mode:
authorAlex Nelson <ajnelson@cs.ucsc.edu>2011-09-05 18:52:50 -0700
committerRichard W.M. Jones <rjones@redhat.com>2011-09-06 13:40:15 +0100
commit002be41389452c705d14ba9c263c0e271f31f17b (patch)
tree778422686197ba791f7a35cc2947f8a401428431 /sh/hivexsh.c
parent93ef56f70db21ddac9bee5e9bde402adbdf27a3f (diff)
downloadhivex-002be41389452c705d14ba9c263c0e271f31f17b.tar.gz
hivex-002be41389452c705d14ba9c263c0e271f31f17b.tar.xz
hivex-002be41389452c705d14ba9c263c0e271f31f17b.zip
Mac OS X: Detect bindtextdomain
In the style of libguestfs commit: 7581672c7893fd392ca10b47f044af327011f502 Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
Diffstat (limited to 'sh/hivexsh.c')
-rw-r--r--sh/hivexsh.c2
1 files changed, 2 insertions, 0 deletions
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;