- fixed windows build

This commit is contained in:
Mark Vejvoda
2012-10-19 02:01:40 +00:00
parent 011e0263b0
commit 8a7190f6f1
2 changed files with 6 additions and 0 deletions

View File

@@ -60,6 +60,11 @@ typedef uint16_t port_t;
#define TRUE 1
#endif
#if (defined WIN32) && !(defined snprintf)
#define snprintf _snprintf
#endif
#ifdef __cplusplus
extern "C" {
#endif