mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-21 08:19:27 +08:00
mdbx: fix #pragma pack
to avoid misalignment for some compilers.
Fixes https://github.com/erthink/libmdbx/issues/235.
This commit is contained in:
@@ -437,7 +437,7 @@ typedef uint16_t indx_t;
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Core structures for database and shared memory (i.e. format definition) */
|
||||
#pragma pack(push, 1)
|
||||
#pragma pack(push, 4)
|
||||
|
||||
/* Information about a single database in the environment. */
|
||||
typedef struct MDBX_db {
|
||||
|
Reference in New Issue
Block a user