8 Jan 2012 21:09
bluebrother: r31641 - trunk/tools
<mailer <at> svn.rockbox.org>
2012-01-08 20:09:59 GMT
2012-01-08 20:09:59 GMT
Date: 2012-01-08 21:09:59 +0100 (Sun, 08 Jan 2012)
New Revision: 31641
Log Message:
Rename snprintf when building with MSVC to link with CRT.
Modified:
trunk/tools/wavtrim.c
Modified: trunk/tools/wavtrim.c
===================================================================
--- trunk/tools/wavtrim.c 2012-01-08 19:51:11 UTC (rev 31640)
+++ trunk/tools/wavtrim.c 2012-01-08 20:09:59 UTC (rev 31641)
<at> <at> -27,6 +27,10 <at> <at>
#include "wavtrim.h"
+#ifdef _MSC_VER
+#define snprintf _snprintf
+#endif
+
/* place a 32 bit value into memory, little endian */
void Write32(unsigned char* pByte, unsigned long value)
{
_______________________________________________
rockbox-cvs mailing list
rockbox-cvs <at> cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs
(Continue reading)
RSS Feed