cpp: fixes problem that InterlockedIncrement/Decrement are not found on _WIN32 platform

This commit is contained in:
FURUHASHI Sadayuki
2011-02-24 00:21:54 +09:00
parent 67ab510b5d
commit 0d5708a01d
4 changed files with 9 additions and 4 deletions

View File

@@ -19,6 +19,10 @@
#include "msgpack/unpack_define.h"
#include <stdlib.h>
#ifdef _msgpack_atomic_counter_header
#include _msgpack_atomic_counter_header
#endif
typedef struct {
msgpack_zone* z;