Message-ID: <39071003.9C2BB55D@softhome.net> Date: Wed, 26 Apr 2000 18:49:23 +0300 From: Laurynas Biveinis X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: ANNOUNCE: DJGPP port of GNU Gettext 0.10.35 References: <1FCF05F5782 AT HRZ1 DOT hrz DOT tu-darmstadt DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Juan Manuel Guerrero wrote: > > If the problem is with gettext from conio.c, then I think this problem > > could be solved with less radical means. > > That is the reason. If you can show me a less radical solution it will be > seriously appreciated. What about following solution: Replacing old gettext() prototype in with (...) _borland_gettext(...); #ifndef __GETTEXT_DEFINED #define gettext _borland_gettext #define __GETTEXT_DEFINED #endif In gettext headers: (...) _gnu_gettext(...); #ifndef __GETTEXT_DEFINED #define gettext _gnu_gettext #define __GETTEXT_DEFINED #endif Now if you include , you get Borland gettext, if gettext header, you get GNU gettext. Now drawback: - If there are old Borland programs which use gettext without including headers, they will stop working. But that could be simply fixed. Laurynas Biveinis