2021-05-14 09:07:09 +00:00
|
|
|
/*
|
|
|
|
** 2015 January 12
|
|
|
|
**
|
|
|
|
** The author disclaims copyright to this source code. In place of
|
|
|
|
** a legal notice, here is a blessing:
|
|
|
|
**
|
|
|
|
** May you do good and not evil.
|
|
|
|
** May you find forgiveness for yourself and forgive others.
|
|
|
|
** May you share freely, never taking more than you give.
|
|
|
|
**
|
|
|
|
******************************************************************************
|
|
|
|
**
|
|
|
|
** This file contains code that is specific to MSVC.
|
|
|
|
*/
|
|
|
|
#ifndef SQLITE_MSVC_H
|
|
|
|
#define SQLITE_MSVC_H
|
2021-05-04 14:39:59 +00:00
|
|
|
/* clang-format off */
|
2021-05-14 09:07:09 +00:00
|
|
|
|
|
|
|
#if defined(_MSC_VER)
|
|
|
|
#pragma warning(disable : 4054)
|
|
|
|
#pragma warning(disable : 4055)
|
|
|
|
#pragma warning(disable : 4100)
|
|
|
|
#pragma warning(disable : 4127)
|
|
|
|
#pragma warning(disable : 4130)
|
|
|
|
#pragma warning(disable : 4152)
|
|
|
|
#pragma warning(disable : 4189)
|
|
|
|
#pragma warning(disable : 4206)
|
|
|
|
#pragma warning(disable : 4210)
|
|
|
|
#pragma warning(disable : 4232)
|
|
|
|
#pragma warning(disable : 4244)
|
|
|
|
#pragma warning(disable : 4305)
|
|
|
|
#pragma warning(disable : 4306)
|
|
|
|
#pragma warning(disable : 4702)
|
|
|
|
#pragma warning(disable : 4706)
|
|
|
|
#endif /* defined(_MSC_VER) */
|
|
|
|
|
|
|
|
#if defined(_MSC_VER) && !defined(_WIN64)
|
|
|
|
#undef SQLITE_4_BYTE_ALIGNED_MALLOC
|
|
|
|
#define SQLITE_4_BYTE_ALIGNED_MALLOC
|
|
|
|
#endif /* defined(_MSC_VER) && !defined(_WIN64) */
|
|
|
|
|
|
|
|
#endif /* SQLITE_MSVC_H */
|