1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Enable memory-mapped I/O on FreeBSD and DragonFly.

FossilOrigin-Name: 2cdd647951ff5dca53576bb8be6dd6310a557571
This commit is contained in:
drh
2015-07-15 23:15:59 +00:00
parent 3a2a686409
commit 3e9dd938dd
3 changed files with 11 additions and 9 deletions

View File

@@ -754,7 +754,9 @@ extern const int sqlite3one;
# if defined(__linux__) \
|| defined(_WIN32) \
|| (defined(__APPLE__) && defined(__MACH__)) \
|| defined(__sun)
|| defined(__sun) \
|| defined(__FreeBSD__) \
|| defined(__DragonFly__)
# define SQLITE_MAX_MMAP_SIZE 0x7fff0000 /* 2147418112 */
# else
# define SQLITE_MAX_MMAP_SIZE 0