summaryrefslogtreecommitdiff
path: root/Source/WTF/wtf/CurrentTime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WTF/wtf/CurrentTime.cpp')
-rw-r--r--Source/WTF/wtf/CurrentTime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WTF/wtf/CurrentTime.cpp b/Source/WTF/wtf/CurrentTime.cpp
index 627d25573..e7326df04 100644
--- a/Source/WTF/wtf/CurrentTime.cpp
+++ b/Source/WTF/wtf/CurrentTime.cpp
@@ -55,7 +55,7 @@
#include <sys/time.h>
#endif
-#if USE(GLIB) && !PLATFORM(EFL)
+#if USE(GLIB) && !PLATFORM(EFL) && !PLATFORM(QT)
#include <glib.h>
#endif
@@ -222,7 +222,7 @@ double currentTime()
#endif // USE(QUERY_PERFORMANCE_COUNTER)
-#elif USE(GLIB) && !PLATFORM(EFL)
+#elif USE(GLIB) && !PLATFORM(EFL) && !PLATFORM(QT)
// Note: GTK on Windows will pick up the PLATFORM(WIN) implementation above which provides
// better accuracy compared with Windows implementation of g_get_current_time: