UIQ3 update, some makefile unification, rm old configs, stuff
[picodrive.git] / Pico / cd / cue.c
index cfd4e27..d02062c 100644 (file)
@@ -6,6 +6,13 @@
 #include "../PicoInt.h"
 // #define elprintf(w,f,...) printf(f "\n",##__VA_ARGS__);
 
+#ifdef _MSC_VER
+#define snprintf _snprintf
+#endif
+#ifdef UIQ3
+#define snprintf(b,s,...) sprintf(b,##__VA_ARGS__)
+#endif
+
 static char *mystrip(char *str)
 {
        int i, len;