summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-01-11 17:58:23 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-01-11 18:06:23 +0100
commit789dec822fabdc2ca3ce27ce03844b1c8e5519df (patch)
treed4c4241606aac765ce0a135bb20a75c3b0150a4b /compat
parentaa44c31c3968094791c8aad43aa09b4925b856f8 (diff)
boring crap
Diffstat (limited to 'compat')
-rw-r--r--compat/macros1.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/compat/macros1.h b/compat/macros1.h
index 8c3916d0..5325d055 100644
--- a/compat/macros1.h
+++ b/compat/macros1.h
@@ -46,3 +46,8 @@
type& operator=(const type&) = delete; \
type& operator=(type&&) = delete
#endif
+
+#ifdef _MSC_VER
+# define strncasecmp _strnicmp
+# define strcasecmp _stricmp
+#endif