Mail Archives: djgpp/2001/10/17/09:47:18
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 -