Jim Meyering wrote:
> Better still, add this in system.h:
> 
>     #if ! ENABLE_NLS
>     # undef textdomain
>     # define textdomain(Domainname) /* empty */
>     # undef bindtextdomain
>     # define bindtextdomain(Domainname, Dirname) /* empty */
>     #endif

If you do this, you'll get "unused variable" warnings when you use
textdomain or bindtextdomain with non-literal arguments. It might work
in your system.h, but is IMO not suitable for general use in gettext.h.

Bruno


Reply via email to