summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/wtf/CurrentTime.h
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/wtf/CurrentTime.h')
-rw-r--r--JavaScriptCore/wtf/CurrentTime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/JavaScriptCore/wtf/CurrentTime.h b/JavaScriptCore/wtf/CurrentTime.h
index 472770e..334a6e9 100644
--- a/JavaScriptCore/wtf/CurrentTime.h
+++ b/JavaScriptCore/wtf/CurrentTime.h
@@ -49,7 +49,7 @@ namespace WTF {
inline void getLocalTime(const time_t* localTime, struct tm* localTM)
{
- #if COMPILER(MSVC7) || COMPILER(MINGW) || PLATFORM(WINCE)
+ #if COMPILER(MSVC7) || COMPILER(MINGW) || OS(WINCE)
*localTM = *localtime(localTime);
#elif COMPILER(MSVC)
localtime_s(localTM, localTime);