Changeset 66883 in webkit
- Timestamp:
- Sep 7, 2010 8:15:58 AM (14 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r66856 r66883 1 2010-09-07 Zoltan Horvath <zoltan@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 REGRESSION(66741): Undefined pthread macros 6 https://bugs.webkit.org/show_bug.cgi?id=45246 7 8 PTHREAD_MUTEX_NORMAL and PTHREAD_MUTEX_DEFAULT (introduced in r60487) are not defined on Linux, 9 but used in a statement. Add an additional check to test this. 10 11 * wtf/FastMalloc.cpp: 12 (WTF::TCMalloc_PageHeap::initializeScavenger): 13 1 14 2010-09-06 Oliver Hunt <oliver@apple.com> 2 15 -
trunk/JavaScriptCore/wtf/FastMalloc.cpp
r66741 r66883 1494 1494 { 1495 1495 // Create a non-recursive mutex. 1496 #if PTHREAD_MUTEX_NORMAL == PTHREAD_MUTEX_DEFAULT1496 #if !defined(PTHREAD_MUTEX_NORMAL) || PTHREAD_MUTEX_NORMAL == PTHREAD_MUTEX_DEFAULT 1497 1497 pthread_mutex_init(&m_scavengeMutex, 0); 1498 1498 #else
Note: See TracChangeset
for help on using the changeset viewer.