Update amalgamation code (#955)

* Update amalgamation code

* Apply realPy's patch
This commit is contained in:
mattn
2021-07-15 22:31:14 +09:00
committed by GitHub
parent 1157a4212d
commit cba6eaee48
4 changed files with 4357 additions and 2972 deletions

View File

@@ -153,7 +153,11 @@ func main() {
for scanner.Scan() {
text := scanner.Text()
if text == `#include "sqlite3.h"` {
text = `#include "sqlite3-binding.h"`
text = `#include "sqlite3-binding.h"
#ifdef __clang__
#define assert(condition) ((void)0)
#endif
`
}
_, err = fmt.Fprintln(f, text)
if err != nil {