Set HAVE_USLEEP

SQLite otherwise has to sleep for a second at a time when waiting for a
lock (!)
This commit is contained in:
Steven Fackler 2017-04-18 12:37:04 +02:00
parent cd824aeaee
commit d4177c5217

View File

@ -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");
} }
} }