aboutsummaryrefslogtreecommitdiff
path: root/callback.go
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2016-08-11 01:15:52 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2016-08-11 01:15:52 +0900
commit297d6f8d2d27c9501b752debc3801671faf2c8d7 (patch)
tree93d7741cec651f31f46c18c565b2341b2e2eb79a /callback.go
parentMerge pull request #300 from sqweek/issue184 (diff)
downloadgolite-297d6f8d2d27c9501b752debc3801671faf2c8d7.tar.gz
golite-297d6f8d2d27c9501b752debc3801671faf2c8d7.tar.xz
update amalgamation code
Diffstat (limited to 'callback.go')
-rw-r--r--callback.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/callback.go b/callback.go
index e2bf3c6..190b695 100644
--- a/callback.go
+++ b/callback.go
@@ -11,7 +11,11 @@ package sqlite3
// code for SQLite custom functions is in here.
/*
+#ifndef USE_LIBSQLITE3
#include <sqlite3-binding.h>
+#else
+#include <sqlite3.h>
+#endif
#include <stdlib.h>
void _sqlite3_result_text(sqlite3_context* ctx, const char* s);