diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2010-04-13 15:35:04 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2010-04-13 15:35:46 (GMT) |
commit | 0711bb704ef5cdd20d5079418c256e3502258613 (patch) | |
tree | 583d8f346c13ba75524b6d3d14271be43a65fe7f /src/corelib | |
parent | 69a13ce889ce32f118a0f65c7fcc97cca3791372 (diff) | |
download | Qt-0711bb704ef5cdd20d5079418c256e3502258613.zip Qt-0711bb704ef5cdd20d5079418c256e3502258613.tar.gz Qt-0711bb704ef5cdd20d5079418c256e3502258613.tar.bz2 |
Revert "Removed double setting of _WIN32_WINNT"
This reverts commit a165d1cfbb15ced6079a0d752fbdb37a478ff46f.
Was causing an error: (msvc2005)
qthread_win.cpp(369) : error C3861: 'SwitchToThread': identifier not found
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/thread/qthread_win.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/thread/qthread_win.cpp b/src/corelib/thread/qthread_win.cpp index 505a9d6..37d5b87 100644 --- a/src/corelib/thread/qthread_win.cpp +++ b/src/corelib/thread/qthread_win.cpp @@ -39,6 +39,12 @@ ** ****************************************************************************/ +//#define WINVER 0x0500 +#if _WIN32_WINNT < 0x0400 +#define _WIN32_WINNT 0x0400 +#endif + + #include "qthread.h" #include "qthread_p.h" #include "qthreadstorage.h" |