diff options
author | Richard Jones <rich@koneko.home.annexia.org> | 2010-03-21 19:30:52 +0000 |
---|---|---|
committer | Richard Jones <rich@koneko.home.annexia.org> | 2010-03-22 08:48:08 +0000 |
commit | 7581672c7893fd392ca10b47f044af327011f502 (patch) | |
tree | 7239dee28ac284b742b967e552b63844d67e8476 /test-tool | |
parent | f5d52fa3c00e525cd5d86089b85f970a5c4e7c21 (diff) | |
download | libguestfs-7581672c7893fd392ca10b47f044af327011f502.tar.gz libguestfs-7581672c7893fd392ca10b47f044af327011f502.tar.xz libguestfs-7581672c7893fd392ca10b47f044af327011f502.zip |
Mac OS X: Detect bindtextdomain.
These are missing on Mac OS X. I think you would need to install
a gettext package to get these.
Diffstat (limited to 'test-tool')
-rw-r--r-- | test-tool/test-tool.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c index cc47c018..78a608f9 100644 --- a/test-tool/test-tool.c +++ b/test-tool/test-tool.c @@ -41,6 +41,13 @@ #define N_(str) str #endif +#if !ENABLE_NLS +#undef textdomain +#define textdomain(Domainname) /* empty */ +#undef bindtextdomain +#define bindtextdomain(Domainname, Dirname) /* empty */ +#endif + #define STREQ(a,b) (strcmp((a),(b)) == 0) #define STRCASEEQ(a,b) (strcasecmp((a),(b)) == 0) #define STRNEQ(a,b) (strcmp((a),(b)) != 0) |