mirror of https://github.com/mattn/go-sqlite3.git
tweak on rebase
This commit is contained in:
parent
1bac0a5f63
commit
e5f99d7eb7
|
@ -263,7 +263,11 @@ func patchSource(baseDir, src, dst string, extensions ...string) error {
|
|||
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(dstFile, text)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue