Changeset 60773 in webkit


Ignore:
Timestamp:
Jun 7, 2010 4:24:14 AM (14 years ago)
Author:
Simon Hausmann
Message:

[Qt] Crash when compiling on Snow Leopard and running on Leopard
https://bugs.webkit.org/show_bug.cgi?id=31403

Patch by Benjamin Poulain <benjamin.poulain@nokia.com> on 2010-06-07
Reviewed by Simon Hausmann.

Disable the use of pthread_setname_np and other symbols
when targetting Leopard.

Use the defines TARGETING_XX instead of BUILDING_ON_XX
for features that cannot be used before Snow Leopard.

  • wtf/Platform.h:
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r60770 r60773  
     12010-06-07  Benjamin Poulain  <benjamin.poulain@nokia.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        [Qt] Crash when compiling on Snow Leopard and running on Leopard
     6        https://bugs.webkit.org/show_bug.cgi?id=31403
     7
     8        Disable the use of pthread_setname_np and other symbols
     9        when targetting Leopard.
     10
     11        Use the defines TARGETING_XX instead of BUILDING_ON_XX
     12        for features that cannot be used before Snow Leopard.
     13
     14        * wtf/Platform.h:
     15
    1162010-06-07  Gabor Loki  <loki@webkit.org>
    217
  • trunk/JavaScriptCore/wtf/Platform.h

    r60650 r60773  
    713713#define HAVE_SYS_TIMEB_H 1
    714714
    715 #if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD)
     715#if !defined(TARGETING_TIGER) && !defined(TARGETING_LEOPARD)
    716716
    717717#define HAVE_DISPATCH_H 1
    718718
    719 #if !PLATFORM(IPHONE) && !PLATFORM(QT)
     719#if !PLATFORM(IPHONE)
    720720#define HAVE_MADV_FREE_REUSE 1
    721721#define HAVE_MADV_FREE 1
Note: See TracChangeset for help on using the changeset viewer.