aboutsummaryrefslogtreecommitdiff
path: root/upgrade/upgrade.go
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade/upgrade.go')
-rw-r--r--upgrade/upgrade.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/upgrade/upgrade.go b/upgrade/upgrade.go
index 8801130..50d7d9c 100644
--- a/upgrade/upgrade.go
+++ b/upgrade/upgrade.go
@@ -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 {