Re: All time favorite: strcasecmp
"nick" <[email protected]> Thu, 30 Jan 2003 16:15:53 +0300 (MSK)
| Newsgroups | gmane.comp.ide.emx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 30 Jan 2003 10:15:45 +0000, csaba.raduly-j34lQMj1tz/[email protected] wrote: >>Why not just define somewhere in emx header #define strcasecmp(a, b) >>stricmp((a), (b)) right now? >> > >Because you cannot guarantee that everybody will change their >EMX headers. Then it'll work for you (and me), but it won't work >for others. > >strcasecmp is not present in every standard library. Programs >that use it must be prepared to make do if it's not available. >That's what ./configure is supposed to find out and set. Anyway, you cant garantee that everybody will change their libraries(dlls) if you'll include strcasecmp there. The one who wants to build unix app have to make some efforts anyway, so its easier to patch a header then libs