forked from mirror/go-sqlite3
Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Yasuhiro Matsumoto | d824efab06 | |
Yasuhiro Matsumoto | 01b1e89847 |
|
@ -7,7 +7,7 @@ package sqlite3
|
|||
|
||||
/*
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#include "sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3-binding.h"
|
||||
#else
|
||||
#include <sqlite3.h>
|
||||
#endif
|
||||
|
|
|
@ -12,7 +12,7 @@ package sqlite3
|
|||
|
||||
/*
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#include "sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3-binding.h"
|
||||
#else
|
||||
#include <sqlite3.h>
|
||||
#endif
|
||||
|
|
2
error.go
2
error.go
|
@ -7,7 +7,7 @@ package sqlite3
|
|||
|
||||
/*
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#include "sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3-binding.h"
|
||||
#else
|
||||
#include <sqlite3.h>
|
||||
#endif
|
||||
|
|
|
@ -25,7 +25,8 @@ package sqlite3
|
|||
#cgo openbsd CFLAGS: -I/usr/local/include
|
||||
#cgo openbsd LDFLAGS: -L/usr/local/lib
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#include "sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3-binding.c"
|
||||
#else
|
||||
#include <sqlite3.h>
|
||||
#endif
|
||||
|
|
|
@ -8,7 +8,7 @@ package sqlite3
|
|||
/*
|
||||
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#include "sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3-binding.h"
|
||||
#else
|
||||
#include <sqlite3.h>
|
||||
#endif
|
||||
|
|
|
@ -9,7 +9,7 @@ package sqlite3
|
|||
|
||||
/*
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#include "sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3-binding.h"
|
||||
#else
|
||||
#include <sqlite3.h>
|
||||
#endif
|
||||
|
|
|
@ -5,7 +5,7 @@ package sqlite3
|
|||
/*
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#cgo CFLAGS: -DSQLITE_ENABLE_COLUMN_METADATA
|
||||
#include <sqlite3-binding.h>
|
||||
#include "amalgamation/sqlite3-binding.h"
|
||||
#else
|
||||
#include <sqlite3.h>
|
||||
#endif
|
||||
|
|
|
@ -13,7 +13,7 @@ package sqlite3
|
|||
#cgo LDFLAGS: -lm
|
||||
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#include "sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3-binding.h"
|
||||
#else
|
||||
#include <sqlite3.h>
|
||||
#endif
|
||||
|
|
|
@ -12,7 +12,8 @@ package sqlite3
|
|||
#cgo CFLAGS: -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3_opt_unlock_notify.c"
|
||||
|
||||
extern void unlock_notify_callback(void *arg, int argc);
|
||||
*/
|
||||
|
|
|
@ -11,7 +11,7 @@ package sqlite3
|
|||
#cgo CFLAGS: -DSQLITE_USER_AUTHENTICATION
|
||||
#cgo LDFLAGS: -lm
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#include "sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3-binding.h"
|
||||
#else
|
||||
#include <sqlite3.h>
|
||||
#endif
|
||||
|
|
|
@ -19,7 +19,7 @@ package sqlite3
|
|||
#cgo CFLAGS: -Wno-deprecated-declarations
|
||||
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#include "sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3-binding.h"
|
||||
#else
|
||||
#include <sqlite3.h>
|
||||
#endif
|
||||
|
|
|
@ -9,7 +9,7 @@ package sqlite3
|
|||
|
||||
/*
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#include "sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3-binding.h"
|
||||
#else
|
||||
#include <sqlite3.h>
|
||||
#endif
|
||||
|
|
|
@ -6,7 +6,7 @@ package sqlite3
|
|||
|
||||
/*
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#include "sqlite3-binding.h"
|
||||
#include "amalgamation/sqlite3-binding.h"
|
||||
#else
|
||||
#include <sqlite3.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue