forked from mirror/go-sqlcipher
workaround for a compiler
Apple LLVM version 7.0.2 (clang-700.1.81) Close #386
This commit is contained in:
parent
ae99dd6561
commit
a7b54c9ddb
|
@ -1,4 +1,5 @@
|
|||
#ifndef USE_LIBSQLITE3
|
||||
#define SQLITE_DISABLE_INTRINSIC 1
|
||||
/******************************************************************************
|
||||
** This file is an amalgamation of many separate C source files from SQLite
|
||||
** version 3.17.0. By combining all the individual C code files into this
|
||||
|
@ -201404,4 +201405,4 @@ static int sqlite3Fts5VocabInit(Fts5Global *pGlobal, sqlite3 *db){
|
|||
#else // USE_LIBSQLITE3
|
||||
// If users really want to link against the system sqlite3 we
|
||||
// need to make this file a noop.
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -10,6 +10,7 @@ package sqlite3
|
|||
#cgo CFLAGS: -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE
|
||||
#cgo CFLAGS: -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4_UNICODE61
|
||||
#cgo CFLAGS: -DSQLITE_TRACE_SIZE_LIMIT=15
|
||||
#cgo CFLAGS: -DSQLITE_DISABLE_INTRINSIC
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#include <sqlite3-binding.h>
|
||||
|
|
Loading…
Reference in New Issue