Fix macro in qthread_win
The dependent macro Q_OS_WINRT is not yet in scope when PCH is disabled, and it was missing parentheses anyway. Use WINAPI_FAMILY here instead, as it's just as good. Change-Id: Ib33904a9173f4f262c57ba1c27b37019f12827e7 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
This commit is contained in:
parent
a5cc210dec
commit
ae50ee8adf
@ -32,7 +32,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
//#define WINVER 0x0500
|
||||
#if !defined Q_OS_WINRT && (_WIN32_WINNT < 0x0400)
|
||||
#if !defined(WINAPI_FAMILY) && (_WIN32_WINNT < 0x0400)
|
||||
#define _WIN32_WINNT 0x0400
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user