delorie.com/archives/browse.cgi | search |
From: | "Marp" <marp AT 0 DOT 0 DOT 0 DOT 0> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <004e01c00f7c$3e414480$0500007b AT brk> |
Subject: | Re: StrUpr for Linux |
Lines: | 30 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Message-ID: | <k1Tp5.58177$Kp4.466192@telenews.teleline.es> |
Date: | Sat, 26 Aug 2000 17:22:24 GMT |
NNTP-Posting-Host: | 208.229.252.248 |
X-Complaints-To: | usenet AT teleline DOT es |
X-Trace: | telenews.teleline.es 967310544 208.229.252.248 (Sat, 26 Aug 2000 19:22:24 MET DST) |
NNTP-Posting-Date: | Sat, 26 Aug 2000 19:22:24 MET DST |
Organization: | Clientes_Teleline |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Try using a different name for the function and reference it by that name in your code. That way you could be sure its always available and won't conflict with the library. Marp "Johan Henriksson" <jhe AT realsoftware DOT cjb DOT net> wrote in message news:004e01c00f7c$3e414480$0500007b AT brk... > 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 >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |