[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]