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

Re: Need somebody to explain

On Tue, Jun 15, 1999 at 09:44:06AM +0200, Martin Schulze wrote:
> Hi,
> this snippet was found in dbootstrap.h
> #ifndef _TESTING_
>         #define _(String) String
> #else
>         #include <libintl.h>
>         #define _(String) gettext(String)
> #endif
> Can somebody please explain its deeper sense to me?
> This means that we only use gettext/pointerize if we are using
> the _test targets.  Why?  Why don't we use the same when creating
> the final floppies?

Using pointerize, we substitute every _(String) to translation[NNN] before
calling gcc, so that macros are useless.

Enrique Zanardi					   ezanardi@ull.es

Reply to: