remove redefines for PAGER_MJ_PGNO to PAGER_SJ_PGNO
[sqlcipher.git] / src / msvc.h
blobf174227330d53058d0ab1aac82873096e96e0da0
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.
11 ******************************************************************************
13 ** This file contains code that is specific to MSVC.
15 #ifndef SQLITE_MSVC_H
16 #define SQLITE_MSVC_H
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) */
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) */
41 #endif /* SQLITE_MSVC_H */