let it build on msvc
[picodrive.git] / pico / pico_port.h
index f1d95a5..605778d 100644 (file)
 #define ALIGNED(n)
 #endif
 
+#ifdef _MSC_VER
+#define snprintf _snprintf
+#define strcasecmp _stricmp
+#define strncasecmp _strnicmp
+#define strdup _strdup
+#endif
+
 #endif // PICO_PORT_INCLUDED