summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libutil.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-09-07 15:15:41 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-09-07 15:15:41 +0200
commit5a1df532ff9e1c4ed2f1000392621789dc6dfafa (patch)
tree06da6e1af2977602a323d22439e0a3a4cfb91091 /crawl-ref/source/libutil.h
parent05cc9a52990d057334ada92bcc8d3723da3725c7 (diff)
downloadcrawl-ref-5a1df532ff9e1c4ed2f1000392621789dc6dfafa.tar.gz
crawl-ref-5a1df532ff9e1c4ed2f1000392621789dc6dfafa.zip
Use standard strcasecmp() rather than Microsoft-only stricmp().
Diffstat (limited to 'crawl-ref/source/libutil.h')
-rw-r--r--crawl-ref/source/libutil.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h
index 298c67b35e..68b8876b0e 100644
--- a/crawl-ref/source/libutil.h
+++ b/crawl-ref/source/libutil.h
@@ -71,9 +71,6 @@ static inline int isaalnum(int c)
bool ends_with(const std::string &s, const std::string &suffix);
-#ifdef UNIX
-extern "C" int stricmp(const char *str1, const char *str2);
-#endif
int numcmp(const char *a, const char *b, int limit = 0);
bool numcmpstr(std::string a, std::string b);
size_t strlcpy(char *dst, const char *src, size_t n);