Skip to content

Commit 94e2000

Browse files
committed
Set compile definitions in a header file for IL2CPP in all platforms
1 parent 864ee3d commit 94e2000

File tree

6 files changed

+136
-15
lines changed

6 files changed

+136
-15
lines changed

Plugins/sqlite-amalgamation/sqlite3.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#include "sqlite3_defines.h"
2+
13
/******************************************************************************
24
** This file is an amalgamation of many separate C source files from SQLite
35
** version 3.48.0. By combining all the individual C code files into this

Plugins/sqlite-amalgamation/sqlite3.c.meta

+4-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Plugins/sqlite-amalgamation/sqlite3.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#include "sqlite3_defines.h"
2+
13
/*
24
** 2001-09-15
35
**
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Compile-time definitions used to build SQLite
2+
// This is a separate file so that IL2CPP can use the same flags on all platforms
3+
#define SQLITE_USE_URI 1
4+
#define SQLITE_DQS 0
5+
#define SQLITE_DEFAULT_MEMSTATUS 0
6+
#define SQLITE_DEFAULT_WAL_SYNCHRONOUS 1
7+
#define SQLITE_LIKE_DOESNT_MATCH_BLOBS 1
8+
#define SQLITE_MAX_EXPR_DEPTH 0
9+
#define SQLITE_OMIT_DECLTYPE 1
10+
#define SQLITE_OMIT_DEPRECATED 1
11+
#define SQLITE_OMIT_PROGRESS_CALLBACK 1
12+
#define SQLITE_OMIT_SHARED_CACHE 1
13+
#define SQLITE_USE_ALLOCA 1
14+
#define SQLITE_ENABLE_RTREE 1
15+
#define SQLITE_ENABLE_MATH_FUNCTIONS 1
16+
#define HAVE_ISNAN 1
17+
#define SQLITE_ENABLE_GEOPOLY 1
18+
#define SQLITE_ENABLE_FTS5 1
19+
#define SQLITE_ENABLE_HIDDEN_COLUMNS 1

Plugins/sqlite-amalgamation/sqlite3_defines.h.meta

+107
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Plugins/sqlite-amalgamation/sqlite3ext.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#include "sqlite3_defines.h"
2+
13
/*
24
** 2006 June 7
35
**

0 commit comments

Comments
 (0)