diff options
Diffstat (limited to 'vendor/github.com/mattn/go-sqlite3/callback.go')
-rw-r--r-- | vendor/github.com/mattn/go-sqlite3/callback.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/mattn/go-sqlite3/callback.go b/vendor/github.com/mattn/go-sqlite3/callback.go index e2bf3c6..190b695 100644 --- a/vendor/github.com/mattn/go-sqlite3/callback.go +++ b/vendor/github.com/mattn/go-sqlite3/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); |