delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/26/12:34:12

Message-ID: <004e01c00f7c$3e414480$0500007b@brk>
From: "Johan Henriksson" <jhe AT realsoftware DOT cjb DOT net>
To: "DJGPP Mailinglist" <djgpp AT delorie DOT com>
Subject: StrUpr for Linux
Date: Sat, 26 Aug 2000 18:38:41 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

Maybe more or less OT, anyway...

I noticed strupr isn't posixcompliant. I would like to rip the function from
DJGPP and put in
an own file. However, is it possible to do something as:

#if !func(strupr)
strupr(yada)
 {yada}
#endif

to make it declared if it already isn't. Or will it be easier to mess with
makefiles? Include
it if it isn't maked under DJGPP. If so, is there any variable I can use to
check if that's
the case?
TIA

- Raw text -


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