mirror of
https://github.com/isar/libmdbx.git
synced 2025-02-01 05:58:21 +08:00
mdbx: fix MDBX_node for big-endian.
Change-Id: I436fc01e379908df07bcb829f0d9cf6999c8c133
This commit is contained in:
parent
0f3994d506
commit
a907109cce
@ -1270,10 +1270,11 @@ typedef struct MDBX_node {
|
|||||||
uint16_t mn_ksize; /* key size */
|
uint16_t mn_ksize; /* key size */
|
||||||
uint16_t mn_flags; /* see mdbx_node */
|
uint16_t mn_flags; /* see mdbx_node */
|
||||||
union {
|
union {
|
||||||
|
uint32_t mn_pgno32;
|
||||||
|
uint32_t mn_dsize;
|
||||||
struct {
|
struct {
|
||||||
uint16_t mn_hi, mn_lo; /* part of data size or pgno */
|
uint16_t mn_hi, mn_lo; /* part of data size or pgno */
|
||||||
};
|
};
|
||||||
uint32_t mn_dsize;
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user