1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-12 15:45:54 +01:00

Reverting r12850...hopefully

Never removed one before, but I'm pretty sure it is correct.
This commit is contained in:
lllucius
2013-11-03 01:54:50 +00:00
parent a68955a0dd
commit b4ba110811
360 changed files with 62988 additions and 62988 deletions

View File

@@ -1,25 +1,25 @@
#include "stdarg.h"
#include "stdio.h"
#ifdef __linux__
#define _vsnprintf vsnprintf
#elif defined(__MACH__)
#define _vsnprintf vsnprintf
#else
#include "crtdbg.h"
#endif
void trace(char *format, ...)
{
char msg[256];
va_list args;
va_start(args, format);
_vsnprintf(msg, 256, format, args);
va_end(args);
#if defined(_DEBUG) && !defined(__linux__)
_CrtDbgReport(_CRT_WARN, NULL, NULL, NULL, msg);
#else
printf(msg);
#endif
}
#include "stdarg.h"
#include "stdio.h"
#ifdef __linux__
#define _vsnprintf vsnprintf
#elif defined(__MACH__)
#define _vsnprintf vsnprintf
#else
#include "crtdbg.h"
#endif
void trace(char *format, ...)
{
char msg[256];
va_list args;
va_start(args, format);
_vsnprintf(msg, 256, format, args);
va_end(args);
#if defined(_DEBUG) && !defined(__linux__)
_CrtDbgReport(_CRT_WARN, NULL, NULL, NULL, msg);
#else
printf(msg);
#endif
}