diff options
author | Tasuku Suzuki <[email protected]> | 2018-05-07 13:36:16 +0900 |
---|---|---|
committer | Tasuku Suzuki <[email protected]> | 2018-05-11 00:54:35 +0000 |
commit | 2433fa45d75cf26add9e7f0ceb8ee439eba68753 (patch) | |
tree | fdf98fbdf9a30cd4a005245f1bd08f22b8087622 /src/qml/jsruntime/qv4dateobject.cpp | |
parent | bd76d453a9c365394ba339280f9adb2d107c381b (diff) |
Fix build without features.timezone
Change-Id: Id40b7a9394a9027551a1334e9e520630e8967cb7
Reviewed-by: Edward Welbourne <[email protected]>
Reviewed-by: Oswald Buddenhagen <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4dateobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4dateobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4dateobject.cpp b/src/qml/jsruntime/qv4dateobject.cpp index bc9b3013d1..5bbe312146 100644 --- a/src/qml/jsruntime/qv4dateobject.cpp +++ b/src/qml/jsruntime/qv4dateobject.cpp @@ -55,7 +55,7 @@ #include <wtf/MathExtras.h> -#ifdef Q_OS_LINUX +#if defined(Q_OS_LINUX) && QT_CONFIG(timezone) /* See QTBUG-56899. Although we don't (yet) have a proper way to reset the system zone, the code below, that uses QTimeZone::systemTimeZone(), works |