delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/17/09:47:18

Sender: salvador AT delorie DOT com
Message-ID: <3BCD8B76.5C0CA35@inti.gov.ar>
Date: Wed, 17 Oct 2001 10:45:26 -0300
From: salvador <salvador AT inti DOT gov DOT ar>
Organization: INTI
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i686)
X-Accept-Language: es-AR, en, es
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: MAKEing Turbo Vision 1.1.3
References: <im4mstk71bb1ondv81goeqsededhsiqj0b AT 4ax DOT com> <3BCB274A DOT 34F2631 AT inti DOT gov DOT ar> <j0fnst84g4o75b64184kvs3dhlvg3j5gki AT 4ax DOT com> <3BCC49EC DOT 5FB4D8ED AT inti DOT gov DOT ar> <jgoostodc3lnjfopkh72tkoer0dg08vjql AT 4ax DOT com>
Reply-To: djgpp AT delorie DOT com

About this topic:

I think collisions between old gettext and conio.h can be avoided with a single
line modification.
Could you (Radical.NetSurfer) Try it?:

In the file include/tv/intl.h near to the begining says:

...
#include <libintl.h>
#ifdef __cplusplus
extern "C" {
#endif

#ifdef __DJGPP__
char *gettext__(const char *);
#else
....

Now make the last lines look like it:

#ifdef __DJGPP__
#undef gettext
char *gettext__(const char *);
#else

This will undefine the gettext definition found in libintl.h. It is not really
needed for TV programs because we use _() macro that is expanded to gettext__

It doesn't interfere with gettext 0.10.39 and I think it will solve issues with
old versions.

SET

--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set AT computer DOT org set AT ieee DOT org
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019