diff options
author | Marcel Krems <m.krems@software-vision.eu> | 2012-04-05 23:15:51 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-05 23:54:37 +0200 |
commit | 4bdb7a0780a3505775b4978a871fdbe773cee4b6 (patch) | |
tree | 9c5202d1f3adb335fb3b84312fb9e37eb0566487 /src/corelib/tools/qhash.cpp | |
parent | 538386f36fcf1dba7d6a0e71d1fb6861ce297558 (diff) |
Fix compilation with MinGW.
Change-Id: I494c84e8e6889a7d7bb3b29669337483732d02c2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qhash.cpp')
-rw-r--r-- | src/corelib/tools/qhash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp index 863e37605d..6119c945fe 100644 --- a/src/corelib/tools/qhash.cpp +++ b/src/corelib/tools/qhash.cpp @@ -169,7 +169,7 @@ static uint qt_create_qhash_seed() } #endif // Q_OS_UNIX -#ifdef Q_OS_WIN32 +#if defined(Q_OS_WIN32) && !defined(Q_CC_GNU) errno_t err; err = rand_s(&seed); if (err == 0) |