diff options
author | Andy Shaw <andy.shaw@qt.io> | 2016-05-24 15:28:49 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2018-01-09 09:51:56 +0000 |
commit | f2b802f9232c078ec83a1cb71385efcef8db32db (patch) | |
tree | c97d0e3dece83ee5b7424457068704e69c66c368 /src/3rdparty | |
parent | 21c9b6fc583bc3fad8e4bbb0a062984e600d74c7 (diff) |
Add HAVE_USLEEP define to give better performance where possible
Change-Id: I6fa68a7eac9001cabceabf846bc11e9ed1001d2c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/sqlite.pri | 1 |
1 files changed, 1 insertions, 0 deletions
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 |