Changeset 73177 in webkit
- Timestamp:
- Dec 2, 2010 11:57:36 AM (13 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r73126 r73177 1 2010-12-02 Patrick Gansterer <paroga@webkit.org> 2 3 Reviewed by Andreas Kling. 4 5 [WINCE] Use GetTickCount() for srand() 6 https://bugs.webkit.org/show_bug.cgi?id=50338 7 8 time() is not a native function on WinCE, so use GetTickCount() instead. 9 10 * wtf/RandomNumberSeed.h: 11 (WTF::initializeRandomNumberGenerator): 12 1 13 2010-12-02 Norbert Leser <norbert.leser@nokia.com> 2 14 -
trunk/JavaScriptCore/wtf/RandomNumberSeed.h
r71226 r73177 54 54 #elif OS(WINCE) 55 55 // initialize rand() 56 srand( static_cast<unsigned>(time(0)));56 srand(GetTickCount()); 57 57 58 58 // use rand() to initialize the real RNG
Note: See TracChangeset
for help on using the changeset viewer.