[Libguestfs] [PATCH 4/4] Mac OS X: Detect bindtextdomain.

Richard W.M. Jones rjones at redhat.com
Mon Mar 22 08:42:27 UTC 2010


On Mon, Mar 22, 2010 at 09:36:27AM +0100, Jim Meyering wrote:
> Putting the following somewhere after your #include "gettext.h"
> makes each "main" slightly more aesthetic: fewer in-function ifdefs.
> 
>   #if ! ENABLE_NLS
>   # undef textdomain
>   # define textdomain(Domainname) /* empty */
>   # undef bindtextdomain
>   # define bindtextdomain(Domainname, Dirname) /* empty */
>   #endif

I updated the patch to do it this way instead.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the Libguestfs mailing list