int64_t on for 64bit systems

This commit is contained in:
Simon Robertshaw 2011-12-30 15:07:26 +00:00
parent b617a264f2
commit 83387b45c0

View File

@ -28,8 +28,14 @@
#include <stdarg.h>
#include "defines.h"
#if defined(LIN64) || defined(USE_STDINT)
#include <sys\types.h>
#include <stdint.h>
#else
typedef long long int int64_t;
typedef unsigned long long int uint64_t;
#endif
#define BSON_OK 0
#define BSON_ERROR -1