Changeset 244643 in webkit


Ignore:
Timestamp:
Apr 25, 2019 4:29:14 AM (5 years ago)
Author:
Antti Koivisto
Message:

redefinition of enumerator 'NSAttachmentCharacter' with Apple internal build
https://bugs.webkit.org/show_bug.cgi?id=197279

Reviewed by Antoine Quint.

Try to fix the build.

  • platform/mac/WebNSAttributedStringExtras.mm:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r244642 r244643  
     12019-04-25  Antti Koivisto  <antti@apple.com>
     2
     3        redefinition of enumerator 'NSAttachmentCharacter' with Apple internal build
     4        https://bugs.webkit.org/show_bug.cgi?id=197279
     5
     6        Reviewed by Antoine Quint.
     7
     8        Try to fix the build.
     9
     10        * platform/mac/WebNSAttributedStringExtras.mm:
     11
    1122019-04-25  Antti Koivisto  <antti@apple.com>
    213
  • trunk/Source/WebCore/platform/mac/WebNSAttributedStringExtras.mm

    r237266 r244643  
    2828
    2929#if PLATFORM(IOS_FAMILY)
     30#if USE(APPLE_INTERNAL_SDK)
     31#import <UIKit/NSTextAttachment.h>
     32#else
    3033enum {
    3134    NSAttachmentCharacter = 0xfffc    /* To denote attachments. */
    3235};
     36#endif
    3337#endif
    3438
Note: See TracChangeset for help on using the changeset viewer.