[GTK] Change from PLATFORM(GTK) to USE(GLIB) in WTF/CurrentTime.cpp

https://bugs.webkit.org/show_bug.cgi?id=114061

Patch by Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> on 2013-04-05
Reviewed by Gustavo Noronha Silva.

Now other ports using GLib can use the correct implementation
and not the fallback one without adding any other PLATFORM guards
here.

* wtf/CurrentTime.cpp:
(WTF):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e62f04d9
2013-04-05 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
[GTK] Change from PLATFORM(GTK) to USE(GLIB) in WTF/CurrentTime.cpp
https://bugs.webkit.org/show_bug.cgi?id=114061
Reviewed by Gustavo Noronha Silva.
Now other ports using GLib can use the correct implementation
and not the fallback one without adding any other PLATFORM guards
here.
* wtf/CurrentTime.cpp:
(WTF):
2013-04-05 Geoffrey Garen <ggaren@apple.com>
Made USE(JSC) unconditional
......
......@@ -55,7 +55,7 @@
#include <sys/time.h>
#endif
#if PLATFORM(GTK)
#if USE(GLIB) && !PLATFORM(EFL)
#include <glib.h>
#endif
......@@ -222,7 +222,7 @@ double currentTime()
#endif // USE(QUERY_PERFORMANCE_COUNTER)
#elif PLATFORM(GTK)
#elif USE(GLIB) && !PLATFORM(EFL)
// 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:
......@@ -291,7 +291,7 @@ double monotonicallyIncreasingTime()
return ecore_time_get();
}
#elif PLATFORM(GTK)
#elif USE(GLIB) && !PLATFORM(EFL)
double monotonicallyIncreasingTime()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment