summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
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