summaryrefslogtreecommitdiffstats
path: root/src/include/win-mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/win-mac.h')
-rw-r--r--src/include/win-mac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/win-mac.h b/src/include/win-mac.h
index b7519d7527..d1ad62bef2 100644
--- a/src/include/win-mac.h
+++ b/src/include/win-mac.h
@@ -148,8 +148,12 @@ typedef unsigned char u_char;
/*
* Functions with slightly different names on the PC
*/
+#ifndef strcasecmp
#define strcasecmp stricmp
+#endif
+#ifndef strncasecmp
#define strncasecmp strnicmp
+#endif
HINSTANCE get_lib_instance(void);