Changeset 35198 in webkit for trunk/JavaScriptCore/kjs/DateMath.cpp
- Timestamp:
- Jul 16, 2008, 3:14:03 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/DateMath.cpp
r34922 r35198 310 310 void getLocalTime(const time_t* localTime, struct tm* localTM) 311 311 { 312 #if PLATFORM(QT) 312 #if PLATFORM(WIN_OS) 313 #if COMPILER(MSVC7) 314 *localTM = *localtime(localTime); 315 #else 316 localtime_s(localTM, localTime); 317 #endif 318 #elif PLATFORM(QT) 313 319 #if USE(MULTIPLE_THREADS) 314 #error Mul itple threads are currently not supported in the Qt/mingw build320 #error Multiple threads are currently not supported in the Qt/mingw build 315 321 #endif 316 322 *localTM = *localtime(localTime); 317 #elif PLATFORM(WIN_OS)318 #if COMPILER(MSVC7)319 *localTM = *localtime(localTime);320 #else321 localtime_s(localTM, localTime);322 #endif323 323 #else 324 324 localtime_r(localTime, localTM);
Note:
See TracChangeset
for help on using the changeset viewer.