forked from mirror/go-sqlcipher
parent
764e046d89
commit
3d78a08b9f
|
@ -1,6 +1,9 @@
|
||||||
package sqlite3
|
package sqlite3
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
#ifdef _WIN32
|
||||||
|
# define _localtime32(x) localtime(x)
|
||||||
|
#endif
|
||||||
#include <sqlite3.h>
|
#include <sqlite3.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -2,7 +2,7 @@ package sqlite3
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo CFLAGS: -I. -fno-stack-check -fno-stack-protector -mno-stack-arg-probe
|
#cgo CFLAGS: -I. -fno-stack-check -fno-stack-protector -mno-stack-arg-probe
|
||||||
#cgo LDFLAGS: -lmingwex -lmingw32 -lmsvcr100
|
#cgo LDFLAGS: -lmingwex -lmingw32
|
||||||
#cgo CFLAGS: -DSQLITE_ENABLE_RTREE
|
#cgo CFLAGS: -DSQLITE_ENABLE_RTREE
|
||||||
*/
|
*/
|
||||||
import "C"
|
import "C"
|
||||||
|
|
Loading…
Reference in New Issue