mirror of https://github.com/mattn/go-sqlite3.git
include C code
This commit is contained in:
parent
01b1e89847
commit
d824efab06
|
@ -26,6 +26,7 @@ package sqlite3
|
||||||
#cgo openbsd LDFLAGS: -L/usr/local/lib
|
#cgo openbsd LDFLAGS: -L/usr/local/lib
|
||||||
#ifndef USE_LIBSQLITE3
|
#ifndef USE_LIBSQLITE3
|
||||||
#include "amalgamation/sqlite3-binding.h"
|
#include "amalgamation/sqlite3-binding.h"
|
||||||
|
#include "amalgamation/sqlite3-binding.c"
|
||||||
#else
|
#else
|
||||||
#include <sqlite3.h>
|
#include <sqlite3.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -13,6 +13,7 @@ package sqlite3
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "amalgamation/sqlite3-binding.h"
|
#include "amalgamation/sqlite3-binding.h"
|
||||||
|
#include "amalgamation/sqlite3_opt_unlock_notify.c"
|
||||||
|
|
||||||
extern void unlock_notify_callback(void *arg, int argc);
|
extern void unlock_notify_callback(void *arg, int argc);
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue