]> granicus.if.org Git - curl/commitdiff
examples/htmltitle: Use _stricmp on Windows
authorGisle Vanem <gvanem@yahoo.no>
Sat, 6 Feb 2016 22:02:53 +0000 (17:02 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Sat, 6 Feb 2016 22:02:55 +0000 (17:02 -0500)
Bug: https://curl.haxx.se/mail/lib-2016-02/0017.html

docs/examples/htmltitle.cpp

index 180a72122e157a6d38052f0787ed855962eeab55..5e6b4a0036dac84db1513383837d4edb708eb1f7 100644 (file)
@@ -42,7 +42,7 @@
 //
 
 #ifdef _MSC_VER
-#define COMPARE(a, b) (!stricmp((a), (b)))
+#define COMPARE(a, b) (!_stricmp((a), (b)))
 #else
 #define COMPARE(a, b) (!strcasecmp((a), (b)))
 #endif