diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index d704677..0c6474a 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -173,7 +173,7 @@ typedef mode_t mdb_mode_t; #define MDB_VL32 1 #ifdef MDB_VL32 -typedef u_int64_t mdb_size_t; +typedef uint64_t mdb_size_t; #else typedef size_t mdb_size_t; #endif diff --git a/libraries/liblmdb/midl.h b/libraries/liblmdb/midl.h index 3df5f70..d6f1a39 100644 --- a/libraries/liblmdb/midl.h +++ b/libraries/liblmdb/midl.h @@ -43,7 +43,7 @@ extern "C" { * Preferably it should have the same size as a pointer. */ #ifdef MDB_VL32 -typedef u_int64_t MDB_ID; +typedef uint64_t MDB_ID; #else typedef size_t MDB_ID; #endif