delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/04/26/15:13:45

Date: Wed, 26 Apr 2000 16:09:45 -0400 (EDT)
Message-Id: <200004262009.QAA24169@indy.delorie.com>
From: Eli Zaretskii <eliz AT delorie DOT com>
To: Laurynas Biveinis <lauras AT softhome DOT net>
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

> Date: Wed, 26 Apr 2000 18:49:23 +0300
> From: Laurynas Biveinis <lauras AT softhome DOT net>
>
> What about following solution:
> Replacing old gettext() prototype in <conio.h> 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 <conio.h>, 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?

- Raw text -


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