From f2b802f9232c078ec83a1cb71385efcef8db32db Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Tue, 24 May 2016 15:28:49 +0200 Subject: [PATCH] Add HAVE_USLEEP define to give better performance where possible Change-Id: I6fa68a7eac9001cabceabf846bc11e9ed1001d2c Reviewed-by: Edward Welbourne --- src/3rdparty/sqlite.pri | 1 + 1 file changed, 1 insertion(+) diff --git a/src/3rdparty/sqlite.pri b/src/3rdparty/sqlite.pri index 91083f84c4..4f3326a817 100644 --- a/src/3rdparty/sqlite.pri +++ b/src/3rdparty/sqlite.pri @@ -4,6 +4,7 @@ DEFINES += SQLITE_ENABLE_COLUMN_METADATA SQLITE_OMIT_LOAD_EXTENSION SQLITE_OMIT_ qtConfig(posix_fallocate): DEFINES += HAVE_POSIX_FALLOCATE=1 winrt: DEFINES += SQLITE_OS_WINRT qnx: DEFINES += _QNX_SOURCE +!win32:!winrt:!winphone: DEFINES += HAVE_USLEEP=1 integrity: QMAKE_CFLAGS += -include qplatformdefs.h INCLUDEPATH += $$PWD/sqlite SOURCES += $$PWD/sqlite/sqlite3.c