forked from mirror/go-sqlite3
Should affect on only 386
This commit is contained in:
parent
c1aa7ac706
commit
e5819757da
|
@ -10,13 +10,6 @@ package sqlite3
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <time.h>
|
||||
struct tm* _localtime32(const __time32_t *tm) {
|
||||
return localtime(tm);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
# include <errno.h>
|
||||
#endif
|
||||
|
|
|
@ -7,6 +7,7 @@ package sqlite3
|
|||
|
||||
/*
|
||||
#cgo CFLAGS: -I. -fno-stack-check -fno-stack-protector -mno-stack-arg-probe
|
||||
#cgo windows,386 CFLAGS: -D_localtime32=localtime
|
||||
#cgo LDFLAGS: -lmingwex -lmingw32
|
||||
#cgo CFLAGS: -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue