1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fix for 8-byte alignment asserts that can trigger in some circumstances with 32-bit MSVC.

FossilOrigin-Name: 4c02832e0c4351ced9d2391f09ee071c65a74b85a0509bf58f045afeb166f48c
This commit is contained in:
mistachkin
2019-04-24 00:37:11 +00:00
parent 29e780068b
commit 49b0572302
3 changed files with 13 additions and 8 deletions

View File

@@ -33,4 +33,9 @@
#pragma warning(disable : 4706)
#endif /* defined(_MSC_VER) */
#if !defined(_WIN64)
#undef SQLITE_4_BYTE_ALIGNED_MALLOC
#define SQLITE_4_BYTE_ALIGNED_MALLOC
#endif /* !defined(_WIN64) */
#endif /* SQLITE_MSVC_H */