aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/SString.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/SString.h b/include/SString.h
index 29fed5fee..df9c88c83 100644
--- a/include/SString.h
+++ b/include/SString.h
@@ -7,13 +7,11 @@
#ifndef SSTRING_H
#define SSTRING_H
+// These functions are implemented because each platform calls them something different
+int CompareCaseInsensitive(const char *a, const char *b);
+int CompareNCaseInsensitive(const char *a, const char *b, int len);
bool EqualCaseInsensitive(const char *a, const char *b);
-#if PLAT_WIN
-#define strcasecmp stricmp
-#define strncasecmp strnicmp
-#endif
-
// Define another string class.
// While it would be 'better' to use std::string, that doubles the executable size.
// An SString may contain embedded nul characters.