From 3a5555302e9b06eb5461016462900f1412ae3f7c Mon Sep 17 00:00:00 2001 From: David Bariod Date: Sat, 2 Apr 2016 12:32:47 +0200 Subject: Move sqlite3 amalgation files a directory up. The purpose is to ease the use of vendoring files like godep. The C sqlite3 files have been added a go compilation conditional flag Fix #293 --- sqlite3.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sqlite3.go') diff --git a/sqlite3.go b/sqlite3.go index afeb99e..4d81917 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -9,7 +9,11 @@ package sqlite3 #cgo CFLAGS: -std=gnu99 #cgo CFLAGS: -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE #cgo CFLAGS: -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4_UNICODE61 +#ifndef USE_LIBSQLITE3 #include +#else +#include +#endif #include #include -- cgit v1.2.3