Rename snprintf when building with MSVC to link with CRT.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31641 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2012-01-08 20:09:59 +00:00
parent ab49b5e77b
commit 5e21bbf575

View file

@ -27,6 +27,10 @@
#include "wavtrim.h" #include "wavtrim.h"
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
/* place a 32 bit value into memory, little endian */ /* place a 32 bit value into memory, little endian */
void Write32(unsigned char* pByte, unsigned long value) void Write32(unsigned char* pByte, unsigned long value)
{ {