diff options
| author | Kai Koehne <kai.koehne@digia.com> | 2013-11-07 09:08:05 +0100 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-08 12:31:03 +0100 |
| commit | 8078e2ea1350fd5109074a2be7207d75840e57f7 (patch) | |
| tree | 2633207e06960251114fdc05acde3567d07eccc8 /src/qml/jsruntime/qv4debugging.cpp | |
| parent | c286b4fccb2d83fcc01b21913b95c5e4f21f2982 (diff) | |
Generalize check for localtime_r
Use the _POSIX_THREAD_SAFE_FUNCTIONS define to decide
whether localtime_r is available, instead of guessing
by Mingw-w64 version.
This copies the logic of qdatetime.cpp in qtbase, and
should fix compilations with older Mingw-w64 versions.
It replaces ce3e8f93c.
Task-number: QTBUG-34038
Change-Id: Iee8a9aa61d2af3e069e6365c40f81007c479d147
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4debugging.cpp')
0 files changed, 0 insertions, 0 deletions
