Changeset 207136 in webkit
- Timestamp:
- Oct 11, 2016 7:09:51 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r207111 r207136 1 2016-10-11 Per Arne Vollan <pvollan@apple.com> 2 3 [Win] Compile fix. 4 https://bugs.webkit.org/show_bug.cgi?id=163272 5 6 Reviewed by Brent Fulgham. 7 8 When compiling with older SDKs, some CoreText symbols are redefined. 9 This patch checks if the relevant CoreText header file has been 10 included before defining the symbol. 11 12 * platform/spi/win/CoreTextSPIWin.h: 13 1 14 2016-10-11 Antoine Quint <graouts@apple.com> 2 15 -
trunk/Source/WebCore/platform/spi/win/CoreTextSPIWin.h
r206584 r207136 28 28 #include <CoreFoundation/CoreFoundation.h> 29 29 #include <CoreGraphics/CoreGraphics.h> 30 #include <CoreText/CTDefines.h> 31 #include <CoreText/CTFontDescriptor.h> 30 #include <CoreText/CoreText.h> 32 31 33 32 WTF_EXTERN_C_BEGIN … … 41 40 CT_EXPORT const CFStringRef kCTForegroundColorFromContextAttributeName; 42 41 42 // This enum is defined in CTFont.h. To avoid redefinition, only define it here if CTFont.h has not been included. 43 #ifndef __CTFONT__ 43 44 typedef CF_OPTIONS(uint32_t, CTFontTableOptions) 44 45 { … … 46 47 kCTFontTableOptionExcludeSynthetic = (1 << 0) 47 48 }; 49 #endif 48 50 49 51 CTFontRef CTFontCreateWithName(CFStringRef, CGFloat size, const CGAffineTransform*);
Note: See TracChangeset
for help on using the changeset viewer.