[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: I18n patch

From: Nicolás Lichtmaier <nick_at_reloco.com.ar>
Date: 2004-04-03 20:07:23 CEST

>> Also, I'm not sure we can just unconditionally add calls to gettext,
>> if I'm
>> reading the headers right we also need to add a compat #define for the
>> non-nls case.
>
> Correct. It has to be protected with #ifdef ENABLE_NLS. -- justin
>

You just do

#ifndef ENABLE_NLS
#define gettext(x) (x)
#endif

...instead of cultering the code with ifdefs.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 3 20:07:45 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.