diff options
author | 2015-02-24 20:52:16 +1100 | |
---|---|---|
committer | 2015-02-24 20:52:46 +1100 | |
commit | c0be42503cbf233b36fa65a056339acebd73a365 (patch) | |
tree | cdbc7c31281692aad410566b94ed774fc694722f /3rdparty/sqlite3/sqlite3.c | |
parent | 3fd95a53ca9a44dd1c56badfaabc9fcea3e7ac0c (diff) |
OS/2 patches for SDLMAME v0.158 [KO Myung-Hun]
Diffstat (limited to '3rdparty/sqlite3/sqlite3.c')
-rw-r--r-- | 3rdparty/sqlite3/sqlite3.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/3rdparty/sqlite3/sqlite3.c b/3rdparty/sqlite3/sqlite3.c index 33fb95c96a9..eee15296b9d 100644 --- a/3rdparty/sqlite3/sqlite3.c +++ b/3rdparty/sqlite3/sqlite3.c @@ -8706,11 +8706,15 @@ SQLITE_PRIVATE const int sqlite3one; /* ** Disable MMAP on platforms where it is known to not work */ -#if defined(__OpenBSD__) || defined(__QNXNTO__) +#if defined(__OpenBSD__) || defined(__QNXNTO__) || defined(__OS2__) # undef SQLITE_MAX_MMAP_SIZE # define SQLITE_MAX_MMAP_SIZE 0 #endif +#ifdef __OS2__ +# define SQLITE_OMIT_WAL +#endif + /* ** Default maximum size of memory used by memory-mapped I/O in the VFS */ |