1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-24 18:25:23 +01:00

More small tweaks for MSVC.

This commit is contained in:
Gerry Stellenberg
2011-01-02 18:02:07 -06:00
parent d90bf717ba
commit a07206ff39
10 changed files with 35 additions and 20 deletions

View File

@@ -35,6 +35,10 @@
#include <string.h>
#include "PRDevice.h"
#if defined(_MSC_VER) && (_MSC_VER < 1300)
#define vsnprintf _vsnprintf
#endif
#define MAX_TEXT (1024)
typedef void (*PRLogCallback)(PRLogLevel level, const char *text);