Workaround for #109, #147

This commit is contained in:
mattn 2014-09-10 14:58:32 +09:00
parent 764e046d89
commit 3d78a08b9f
2 changed files with 4 additions and 1 deletions

View File

@ -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>

View File

@ -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"