cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [Patch] docs/examples/htmltitle.cpp

From: Gisle Vanem <gvanem_at_yahoo.no>
Date: Sat, 6 Feb 2016 12:32:39 +0100

Dan Fandrich wrote:

>> So IMHO it's better to use _stricmp():
>
> Is this symbol available in older versions of MSVC? At least as old as we still
> support?

'_stricmp()' has been in all all VC-products since the 90-ies.
From my attic, I even found it in a 16-bit Quick-C (cl v7) version (1992!).
d:\PROG\C700\include\string.h:
  int __cdecl _stricmp(const char *, const char *);
  ...
  #ifndef __STDC__
  /* Non-ANSI names for compatibility */
  int __cdecl stricmp(const char *, const char *);

-----

Windows-wise, in MSVC 2010 (the oldest I still keeping here), it is yes.
Also in MSVC-2008:
  https://msdn.microsoft.com/en-us/library/k59z8dwe(v=vs.90).aspx

And in all oldnames.lib AFAICS.

-- 
--gv
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-02-06