diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-08-11 01:15:52 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-08-11 01:15:52 +0900 |
commit | 297d6f8d2d27c9501b752debc3801671faf2c8d7 (patch) | |
tree | 93d7741cec651f31f46c18c565b2341b2e2eb79a /callback.go | |
parent | Merge pull request #300 from sqweek/issue184 (diff) | |
download | golite-297d6f8d2d27c9501b752debc3801671faf2c8d7.tar.gz golite-297d6f8d2d27c9501b752debc3801671faf2c8d7.tar.xz |
update amalgamation code
Diffstat (limited to 'callback.go')
-rw-r--r-- | callback.go | 4 |
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); |