Skip to content

Commit

Permalink
tweak on rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
itizir committed Dec 14, 2023
1 parent 1bac0a5 commit e5f99d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion upgrade/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e5f99d7

Please sign in to comment.