summaryrefslogtreecommitdiffstats
path: root/src/core/common.h
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2019-11-09 16:06:20 +0100
committerGitHub <noreply@github.com>2019-11-09 16:06:20 +0100
commit0df15bb73dbdf352f92bc522c7b5c102f1e33ba5 (patch)
tree73c9bf00f83b91d7862f28296640860fa16291ab /src/core/common.h
parentFix link to config.h in readme (diff)
parentImplemented faststrcmp, faststricmp, strcasecmp (diff)
downloadre3-0df15bb73dbdf352f92bc522c7b5c102f1e33ba5.tar
re3-0df15bb73dbdf352f92bc522c7b5c102f1e33ba5.tar.gz
re3-0df15bb73dbdf352f92bc522c7b5c102f1e33ba5.tar.bz2
re3-0df15bb73dbdf352f92bc522c7b5c102f1e33ba5.tar.lz
re3-0df15bb73dbdf352f92bc522c7b5c102f1e33ba5.tar.xz
re3-0df15bb73dbdf352f92bc522c7b5c102f1e33ba5.tar.zst
re3-0df15bb73dbdf352f92bc522c7b5c102f1e33ba5.zip
Diffstat (limited to 'src/core/common.h')
-rw-r--r--src/core/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/common.h b/src/core/common.h
index fd5f35b0..cadcac1d 100644
--- a/src/core/common.h
+++ b/src/core/common.h
@@ -153,6 +153,10 @@ public:
#endif
};
+#if (defined(_MSC_VER))
+extern int strcasecmp(const char *str1, const char *str2);
+#endif
+
#define clamp(v, low, high) ((v)<(low) ? (low) : (v)>(high) ? (high) : (v))
inline float sq(float x) { return x*x; }