⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 169900 in webkit


Ignore:
Timestamp:
Jun 12, 2014, 9:35:38 AM (12 years ago)
Author:
ap@apple.com
Message:

Fix Mac after r169880.

This revision added a C++ comment to Platform.h, which breaks sandbox profile
preprocessing.

Also, I do not believe that this comment was entirely accurate - we've always used
this technique with GCC, so there has to be more to it. So, I just removed the comment.

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r169880 r169900  
     12014-06-12  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Fix Mac after r169880.
     4
     5        This revision added a C++ comment to Platform.h, which breaks sandbox profile
     6        preprocessing.
     7
     8        Also, I do not believe that this comment was entirely accurate - we've always used
     9        this technique with GCC, so there has to be more to it. So, I just removed the comment.
     10
     11        * wtf/Platform.h:
     12
    1132014-06-11  Csaba Osztrogonác  <ossy@webkit.org>
    214
  • trunk/Source/WTF/wtf/Platform.h

    r169880 r169900  
    10621062#endif
    10631063
    1064 // There are many occurences of "#if TARGET_OS_IPHONE" guard which cause build failures if TARGET_OS_IPHONE isn't defined.
    1065 // #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE won't help, because GCC's preprocessor doesn't do short circuit macro evaluation.
    10661064#if PLATFORM(EFL) || PLATFORM(GTK)
    10671065#define TARGET_OS_IPHONE 0
Note: See TracChangeset for help on using the changeset viewer.