mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Get SQLite to build
* changed headers * removed redundant declarations * ran clang-format * added sqlite3.mk
This commit is contained in:
parent
644f290035
commit
919b6fec10
156 changed files with 2847 additions and 6772 deletions
5
third_party/sqlite3/mem2.c
vendored
5
third_party/sqlite3/mem2.c
vendored
|
@ -19,7 +19,8 @@
|
|||
** This file contains implementations of the low-level memory allocation
|
||||
** routines specified in the sqlite3_mem_methods object.
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
/* clang-format off */
|
||||
|
||||
/*
|
||||
** This version of the memory allocator is used only if the
|
||||
|
@ -37,7 +38,7 @@
|
|||
# define backtrace(A,B) 1
|
||||
# define backtrace_symbols_fd(A,B,C)
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include "libc/stdio/stdio.h"
|
||||
|
||||
/*
|
||||
** Each memory allocation looks like this:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue