mdbx: fix #pragma pack(pop) balance.

Thanks to <Sergey.V.Barannikov@mcst.ru>.
This commit is contained in:
Leo Yuriev 2018-03-14 16:05:37 +03:00
parent f521b6615e
commit 195b53374e

View File

@ -448,9 +448,7 @@ typedef struct MDBX_lockinfo {
MDBX_reader __cache_aligned mti_readers[1];
} MDBX_lockinfo;
#ifdef _MSC_VER
#pragma pack(pop)
#endif /* MSVC: Enable aligment */
#define MDBX_LOCKINFO_WHOLE_SIZE \
((sizeof(MDBX_lockinfo) + MDBX_CACHELINE_SIZE - 1) & \