little speedup for bundled sqlite3.c

This commit is contained in:
Evgeniy A. Dushistov 2020-05-30 02:32:19 +03:00 committed by Thom Chiovoloni
parent c1142c309e
commit 8cdfaf36ae

View File

@ -104,6 +104,9 @@ mod build_bundled {
} else { } else {
cfg.flag("-DSQLITE_HAVE_ISNAN"); cfg.flag("-DSQLITE_HAVE_ISNAN");
} }
if cfg!(not(target_os = "windows")) {
cfg.flag("-DHAVE_LOCALTIME_R");
}
if cfg!(feature = "unlock_notify") { if cfg!(feature = "unlock_notify") {
cfg.flag("-DSQLITE_ENABLE_UNLOCK_NOTIFY"); cfg.flag("-DSQLITE_ENABLE_UNLOCK_NOTIFY");
} }