mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 09:48:29 +00:00
Make futexes cancellable by pthreads
This commit is contained in:
parent
2278327eba
commit
022536cab6
101 changed files with 627 additions and 391 deletions
1
third_party/sqlite3/README.cosmo
vendored
1
third_party/sqlite3/README.cosmo
vendored
|
@ -17,4 +17,5 @@ LOCAL CHANGES
|
|||
- Added `--strace` system call tracing flag to SQLite shell
|
||||
- Added `--strace` function call logging flag to SQLite shell
|
||||
- Configured fsync() using runtime magnums rather than ifdefs
|
||||
- Modify preprocessor macro for enabling pread() and pwrite()
|
||||
- Save and restore errno in some places to avoid log pollution
|
||||
|
|
2
third_party/sqlite3/os_unix.c
vendored
2
third_party/sqlite3/os_unix.c
vendored
|
@ -84,7 +84,7 @@
|
|||
#endif
|
||||
|
||||
/* Use pread() and pwrite() if they are available */
|
||||
#if defined(__APPLE__) || defined(__COSMOPOLITAN__)
|
||||
#if defined(__APPLE__) || defined(__COSMOPOLITAN__) /* [jart] */
|
||||
# define HAVE_PREAD 1
|
||||
# define HAVE_PWRITE 1
|
||||
#endif
|
||||
|
|
2
third_party/sqlite3/sqlite3.mk
vendored
2
third_party/sqlite3/sqlite3.mk
vendored
|
@ -126,7 +126,7 @@ THIRD_PARTY_SQLITE3_FLAGS = \
|
|||
-DSQLITE_HAVE_C99_MATH_FUNCS \
|
||||
-DSQLITE_ENABLE_MATH_FUNCTIONS \
|
||||
-DSQLITE_ENABLE_JSON1 \
|
||||
-DSQLITE_ENABLE_DESERIALIZE \
|
||||
-DSQLITE_ENABLE_DESERIALIZE
|
||||
|
||||
ifeq ($(MODE),dbg)
|
||||
THIRD_PARTY_SQLITE3_CPPFLAGS_DEBUG = -DSQLITE_DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue