Team Ai
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
msvc.h46 linesDownload Raw Back to src
1/*2** 2015 January 123**4** The author disclaims copyright to this source code.  In place of5** a legal notice, here is a blessing:6**7**    May you do good and not evil.8**    May you find forgiveness for yourself and forgive others.9**    May you share freely, never taking more than you give.10**11******************************************************************************12**13** This file contains code that is specific to MSVC.14*/15#ifndef SQLITE_MSVC_H16#define SQLITE_MSVC_H17 18#if defined(_MSC_VER)19#pragma warning(disable : 4054)20#pragma warning(disable : 4055)21#pragma warning(disable : 4100)22#pragma warning(disable : 4127)23#pragma warning(disable : 4130)24#pragma warning(disable : 4152)25#pragma warning(disable : 4189)26#pragma warning(disable : 4206)27#pragma warning(disable : 4210)28#pragma warning(disable : 4232)29#pragma warning(disable : 4244)30#pragma warning(disable : 4305)31#pragma warning(disable : 4306)32#pragma warning(disable : 4702)33#pragma warning(disable : 4706)34#endif /* defined(_MSC_VER) */35 36#if defined(_MSC_VER) && !defined(_WIN64)37#undef SQLITE_4_BYTE_ALIGNED_MALLOC38#define SQLITE_4_BYTE_ALIGNED_MALLOC39#endif /* defined(_MSC_VER) && !defined(_WIN64) */40 41#if !defined(HAVE_LOG2) && defined(_MSC_VER) && _MSC_VER<180042#define HAVE_LOG2 043#endif /* !defined(HAVE_LOG2) && defined(_MSC_VER) && _MSC_VER<1800 */44 45#endif /* SQLITE_MSVC_H */46