Date: Wed, 26 Apr 2000 16:09:45 -0400 (EDT) Message-Id: <200004262009.QAA24169@indy.delorie.com> From: Eli Zaretskii To: Laurynas Biveinis CC: djgpp-workers AT delorie DOT com In-reply-to: <39071003.9C2BB55D@softhome.net> (message from Laurynas Biveinis on Wed, 26 Apr 2000 18:49:23 +0300) Subject: Re: ANNOUNCE: DJGPP port of GNU Gettext 0.10.35 References: <1FCF05F5782 AT HRZ1 DOT hrz DOT tu-darmstadt DOT de> <39071003 DOT 9C2BB55D AT softhome DOT net> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Wed, 26 Apr 2000 18:49:23 +0300 > From: Laurynas Biveinis > > 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. Doesn't this require that conio.c be changed to define a function named _borland_gettext instead of gettext? And similarly the GNU gettext sources need to be changed to define _gnu_gettext, no?