Get SQLite to build

* changed headers
* removed redundant declarations
* ran clang-format
* added sqlite3.mk
This commit is contained in:
ahgamut
2021-05-04 20:09:59 +05:30
committed by Justine Tunney
parent 644f290035
commit 919b6fec10
156 changed files with 2847 additions and 6772 deletions

View File

@@ -17,7 +17,8 @@
*/
#ifndef SQLITE_VDBE_H
#define SQLITE_VDBE_H
#include <stdio.h>
#include "libc/stdio/stdio.h"
/* clang-format off */
/*
** A single VDBE is an opaque structure named "Vdbe". Only routines
@@ -166,7 +167,7 @@ typedef struct VdbeOpList VdbeOpList;
** The makefile scans the vdbe.c source file and creates the "opcodes.h"
** header file that defines a number for each opcode used by the VDBE.
*/
#include "opcodes.h"
#include "third_party/sqlite3/opcodes.h"
/*
** Additional non-public SQLITE_PREPARE_* flags