diff --git a/tools/wavtrim.c b/tools/wavtrim.c index 36a1151b4d..c2d0351362 100644 --- a/tools/wavtrim.c +++ b/tools/wavtrim.c @@ -27,6 +27,10 @@ #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) {