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

@@ -14,15 +14,17 @@
*/
#ifndef SQLITE_OS_WIN_H
#define SQLITE_OS_WIN_H
/* clang-format off */
/*
** Include the primary Windows SDK header file.
*/
#include "windows.h"
#include "third_party/sqlite3/windows.h"
#ifdef __CYGWIN__
# include <sys/cygwin.h>
# include <errno.h> /* amalgamator: dontcache */
#include <sys/cygwin.h>
#include "libc/errno.h" /* amalgamator: dontcache */
#endif
/*