Changeset 44866 in webkit
- Timestamp:
- Jun 19, 2009 1:09:47 PM (15 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r44862 r44866 1 2009-06-19 Yong Li <yong.li@torchmobile.com> 2 3 Reviewed by George Staikos. 4 5 https://bugs.webkit.org/show_bug.cgi?id=26558 6 Declare these symbols extern for WINCE as they are provided by libce. 7 8 * runtime/DateConstructor.cpp: 9 * runtime/DatePrototype.cpp: 10 (JSC::formatLocaleDate): 11 1 12 2009-06-19 Oliver Hunt <oliver@apple.com> 2 13 -
trunk/JavaScriptCore/runtime/DateConstructor.cpp
r44509 r44866 35 35 #include <wtf/DateMath.h> 36 36 #include <wtf/MathExtras.h> 37 38 #if PLATFORM(WINCE) && !PLATFORM(QT) 39 extern "C" time_t time(time_t* timer); //provided by libce 40 #endif 37 41 38 42 #if HAVE(SYS_TIME_H) -
trunk/JavaScriptCore/runtime/DatePrototype.cpp
r44508 r44866 2 2 * Copyright (C) 1999-2000 Harri Porten (porten@kde.org) 3 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2008, 2009 Torch Mobile, Inc. All rights reserved. 4 5 * 5 6 * This library is free software; you can redistribute it and/or … … 58 59 #if PLATFORM(MAC) 59 60 #include <CoreFoundation/CoreFoundation.h> 61 #endif 62 63 #if PLATFORM(WINCE) && !PLATFORM(QT) 64 extern "C" size_t strftime(char * const s, const size_t maxsize, const char * const format, const struct tm * const t); //provided by libce 60 65 #endif 61 66 … … 191 196 #if HAVE(LANGINFO_H) 192 197 static const nl_item formats[] = { D_T_FMT, D_FMT, T_FMT }; 198 #elif PLATFORM(WINCE) && !PLATFORM(QT) 199 // strftime() we are using does not support # 200 static const char* const formatStrings[] = { "%c", "%x", "%X" }; 193 201 #else 194 202 static const char* const formatStrings[] = { "%#c", "%#x", "%X" };
Note: See TracChangeset
for help on using the changeset viewer.