Fix BSON.h rolling its own 64-bit integer types

This is problematic as per a comment on #860, and everything we target has <cstdint> now.
This commit is contained in:
Tamás Bálint Misius 2022-10-10 10:20:45 +02:00
parent 04e8538a48
commit f378b3ac1d
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -30,14 +30,7 @@
#include <climits>
#include "common/tpt-inline.h"
#if defined(AND) || defined(LIN) || defined(USE_STDINT)
#include <sys/types.h>
#include <cstdint>
#else
typedef long long int int64_t;
typedef unsigned long long int uint64_t;
#endif
#define BSON_OK 0
#define BSON_ERROR -1