tweak on rebase

This commit is contained in:
Diego Becciolini 2023-12-14 14:39:11 +00:00
parent 1bac0a5f63
commit e5f99d7eb7
No known key found for this signature in database
GPG Key ID: 01569F80C7D1F763
1 changed files with 5 additions and 1 deletions

View File

@ -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 {