mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-08 19:00:27 +00:00
Disable mremap for SQLite (reapply 80b211e3
)
This commit is contained in:
parent
5e90ac3dd4
commit
a4d8dcbec5
1 changed files with 2 additions and 0 deletions
2
third_party/sqlite3/os_unix.c
vendored
2
third_party/sqlite3/os_unix.c
vendored
|
@ -329,6 +329,7 @@ static pid_t randomnessPid = 0;
|
||||||
#define threadid 0
|
#define threadid 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
** HAVE_MREMAP defaults to true on Linux and false everywhere else.
|
** HAVE_MREMAP defaults to true on Linux and false everywhere else.
|
||||||
*/
|
*/
|
||||||
|
@ -339,6 +340,7 @@ static pid_t randomnessPid = 0;
|
||||||
# define HAVE_MREMAP 0
|
# define HAVE_MREMAP 0
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue