notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
let it build on msvc
[picodrive.git]
/
pico
/
pico_port.h
diff --git
a/pico/pico_port.h
b/pico/pico_port.h
index
f1d95a5
..
605778d
100644
(file)
--- a/
pico/pico_port.h
+++ b/
pico/pico_port.h
@@
-15,4
+15,11
@@
#define ALIGNED(n)
#endif
#define ALIGNED(n)
#endif
+#ifdef _MSC_VER
+#define snprintf _snprintf
+#define strcasecmp _stricmp
+#define strncasecmp _strnicmp
+#define strdup _strdup
+#endif
+
#endif // PICO_PORT_INCLUDED
#endif // PICO_PORT_INCLUDED