Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/sqlite/blob/master/src/msvc.h # sqlite [Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `sqlite / src / msvc.h` 45 lines ยท 1364 bytes Raw Blame History 1 /* 2 ** 2015 January 12 3 ** 4 ** The author disclaims copyright to this source code. In place of 5 ** 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_H 16 #define SQLITE_MSVC_H 17 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_MALLOC 38 #define SQLITE_4_BYTE_ALIGNED_MALLOC 39 #endif /* defined(_MSC_VER) && !defined(_WIN64) */ 40 41 #if !defined(HAVE_LOG2) && defined(_MSC_VER) && _MSC_VER<1800 42 #define HAVE_LOG2 0 43 #endif /* !defined(HAVE_LOG2) && defined(_MSC_VER) && _MSC_VER<1800 */ 44 45 #endif /* SQLITE_MSVC_H */