|
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: The build file that has the MACROS defined for the symbian |
|
15 * sqlite module. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 //Symbian OS port |
|
21 MACRO OS_SYMBIAN |
|
22 |
|
23 //Enable file I/O counters (disable in production builds) |
|
24 //MACRO __COUNT_FILE_IO__ |
|
25 |
|
26 //Enable memory management |
|
27 MACRO SQLITE_ENABLE_MEMORY_MANAGEMENT=1 |
|
28 |
|
29 //Disable >2GB file support |
|
30 MACRO SQLITE_DISABLE_LFS |
|
31 |
|
32 //Enable autovacuum |
|
33 MACRO SQLITE_DEFAULT_AUTOVACUUM=1 |
|
34 |
|
35 //Disable autovacuum omission |
|
36 //#undef SQLITE_OMIT_AUTOVACUUM |
|
37 |
|
38 //Default cache page size in bytes |
|
39 MACRO SQLITE_DEFAULT_PAGE_SIZE=1024 |
|
40 |
|
41 //Max cache page size in bytes |
|
42 MACRO SQLITE_MAX_PAGE_SIZE=4096 |
|
43 |
|
44 //Default page cache size in pages, each of SQLITE_DEFAULT_PAGE_SIZE size |
|
45 MACRO SQLITE_DEFAULT_CACHE_SIZE=64 |
|
46 |
|
47 //Default temporary page cache size in pages, each of SQLITE_DEFAULT_PAGE_SIZE size |
|
48 MACRO SQLITE_DEFAULT_TEMP_CACHE_SIZE=32 |
|
49 |
|
50 //Temporary files - in memory only |
|
51 MACRO TEMP_STORE=3 |
|
52 |
|
53 //Omit the capability to issue "progress" callbacks during long-running SQL statements |
|
54 MACRO SQLITE_OMIT_PROGRESS_CALLBACK=1 |
|
55 |
|
56 //No virtual tables |
|
57 MACRO SQLITE_OMIT_VIRTUALTABLE=1 |
|
58 |
|
59 //No SQLITE extensions |
|
60 MACRO SQLITE_OMIT_LOAD_EXTENSION=1 |
|
61 |
|
62 //Memory leaks tracing (disable in production builds) |
|
63 //MACRO SQLITE_MEMDEBUG=1 |
|
64 |
|
65 //Disables SQL statements tracing. Causes a linker error if enabled - ARM4, UREL build. |
|
66 //(Vdbeapi.c, "undefined reference to `__fixunsdfdi'", |
|
67 // the line is: "elapseTime = (rNow - (int)rNow)*3600.0*24.0*1000000000.0 - p->startTime;" |
|
68 // there is no convertion function for "double -> uinsigned long long" cast) |
|
69 MACRO SQLITE_OMIT_TRACE=1 |
|
70 |
|
71 #if defined WINS || defined WINSCW |
|
72 |
|
73 //Enable sqlite debugging |
|
74 MACRO SQLITE_DEBUG |
|
75 |
|
76 //For testing I/O errors logic |
|
77 //MACRO SQLITE_TEST |
|
78 |
|
79 //Enable memory allocation tracing in the OS layer |
|
80 //MACRO __MEM_TRACE__ |
|
81 |
|
82 #endif //end of "#if defined WINS || defined WINSCW" |
|
83 |