mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-01 06:00:15 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user