summaryrefslogtreecommitdiffstats
path: root/compat/posix-shims/strings.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/posix-shims/strings.h')
-rw-r--r--compat/posix-shims/strings.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/compat/posix-shims/strings.h b/compat/posix-shims/strings.h
new file mode 100644
index 0000000..c917a66
--- /dev/null
+++ b/compat/posix-shims/strings.h
@@ -0,0 +1,9 @@
+#include <compat.h>
+
+#ifndef HAVE_STRCASECMP
+#ifdef _MSC_VER
+#define strcasecmp _stricmp
+#else
+#error No strcasecmp() implementation for this platform is available.
+#endif
+#endif