Use uint64_t not u_int64_t

vl32b
Howard Chu 9 years ago
parent 755cb69d8b
commit 6d8c442fcf
  1. 2
      libraries/liblmdb/lmdb.h
  2. 2
      libraries/liblmdb/midl.h

@ -173,7 +173,7 @@ typedef mode_t mdb_mode_t;
#define MDB_VL32 1 #define MDB_VL32 1
#ifdef MDB_VL32 #ifdef MDB_VL32
typedef u_int64_t mdb_size_t; typedef uint64_t mdb_size_t;
#else #else
typedef size_t mdb_size_t; typedef size_t mdb_size_t;
#endif #endif

@ -43,7 +43,7 @@ extern "C" {
* Preferably it should have the same size as a pointer. * Preferably it should have the same size as a pointer.
*/ */
#ifdef MDB_VL32 #ifdef MDB_VL32
typedef u_int64_t MDB_ID; typedef uint64_t MDB_ID;
#else #else
typedef size_t MDB_ID; typedef size_t MDB_ID;
#endif #endif

Loading…
Cancel
Save