From d4177c5217317662de5aea14476e051dd037329b Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Tue, 18 Apr 2017 12:37:04 +0200 Subject: [PATCH] Set HAVE_USLEEP SQLite otherwise has to sleep for a second at a time when waiting for a lock (!) --- libsqlite3-sys/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/libsqlite3-sys/build.rs b/libsqlite3-sys/build.rs index f864224..63b6ffe 100644 --- a/libsqlite3-sys/build.rs +++ b/libsqlite3-sys/build.rs @@ -34,6 +34,7 @@ mod build { .flag("-DSQLITE_SOUNDEX") .flag("-DSQLITE_THREADSAFE=1") .flag("-DSQLITE_USE_URI") + .flag("-DHAVE_USLEEP=1") .compile("libsqlite3.a"); } }