Changeset 172510 in webkit


Ignore:
Timestamp:
Aug 12, 2014 7:33:03 PM (10 years ago)
Author:
dbates@webkit.org
Message:

BPLATFORM(IOS) always evaluates to false
https://bugs.webkit.org/show_bug.cgi?id=135843

Reviewed by Geoffrey Garen.

Fix typo in definition of BPLATFORM() and include system header TargetConditionals.h
(when building on an Apple platform) so that BPLATFORM(X) evaluates to true when
building for platform X. In particular, so that BPLATFORM(IOS) evaluates to true when
building for iOS.

As a side effect of this change, the change made in <http://trac.webkit.org/changeset/167289>
will be honored and iOS will assume a VM page size of 16kB (again) instead of 4kB.

  • bmalloc/BPlatform.h:
Location:
trunk/Source/bmalloc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/bmalloc/ChangeLog

    r172482 r172510  
     12014-08-12  Daniel Bates  <dabates@apple.com>
     2
     3        BPLATFORM(IOS) always evaluates to false
     4        https://bugs.webkit.org/show_bug.cgi?id=135843
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Fix typo in definition of BPLATFORM() and include system header TargetConditionals.h
     9        (when building on an Apple platform) so that BPLATFORM(X) evaluates to true when
     10        building for platform X. In particular, so that BPLATFORM(IOS) evaluates to true when
     11        building for iOS.
     12
     13        As a side effect of this change, the change made in <http://trac.webkit.org/changeset/167289>
     14        will be honored and iOS will assume a VM page size of 16kB (again) instead of 4kB.
     15
     16        * bmalloc/BPlatform.h:
     17
    1182014-08-11  Andy Estes  <aestes@apple.com>
    219
  • trunk/Source/bmalloc/bmalloc/BPlatform.h

    r167289 r172510  
    2727#define BPlatform_h
    2828
    29 #define BPLATFORM(PLATFORM) (defined BPLATFORM_##PLATFORM && PLATFORM_##PLATFORM)
     29#ifdef __APPLE__
     30#include <TargetConditionals.h>
     31#endif
     32
     33#define BPLATFORM(PLATFORM) (defined BPLATFORM_##PLATFORM && BPLATFORM_##PLATFORM)
    3034
    3135#if ((defined(TARGET_OS_EMBEDDED) && TARGET_OS_EMBEDDED) \
Note: See TracChangeset for help on using the changeset viewer.