From c0be42503cbf233b36fa65a056339acebd73a365 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Tue, 24 Feb 2015 20:52:16 +1100 Subject: OS/2 patches for SDLMAME v0.158 [KO Myung-Hun] --- 3rdparty/sqlite3/sqlite3.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '3rdparty/sqlite3/sqlite3.c') 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 */ -- cgit v1.2.3-70-g09d2