mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 11:31:37 +08:00
Set HAVE_USLEEP
SQLite otherwise has to sleep for a second at a time when waiting for a lock (!)
This commit is contained in:
parent
cd824aeaee
commit
d4177c5217
@ -34,6 +34,7 @@ mod build {
|
|||||||
.flag("-DSQLITE_SOUNDEX")
|
.flag("-DSQLITE_SOUNDEX")
|
||||||
.flag("-DSQLITE_THREADSAFE=1")
|
.flag("-DSQLITE_THREADSAFE=1")
|
||||||
.flag("-DSQLITE_USE_URI")
|
.flag("-DSQLITE_USE_URI")
|
||||||
|
.flag("-DHAVE_USLEEP=1")
|
||||||
.compile("libsqlite3.a");
|
.compile("libsqlite3.a");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user