fix compile error for linux
git-svn-id: http://skia.googlecode.com/svn/trunk@797 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
e686322eba
commit
369ca40621
@ -121,12 +121,12 @@ SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* getAdvanceData(
|
||||
|
||||
// Make AdvanceMetric template functions available for linking with typename
|
||||
// WidthRange and VerticalAdvanceRange.
|
||||
#ifdef SK_BUILD_FOR_WIN
|
||||
#if defined(SK_BUILD_FOR_WIN)
|
||||
template SkAdvancedTypefaceMetrics::WidthRange* getAdvanceData(
|
||||
HDC hdc,
|
||||
int num_glyphs,
|
||||
bool (*getAdvance)(HDC hdc, int gId, int16_t* data));
|
||||
#elif SK_BUILD_FOR_UNIX
|
||||
#elif defined(SK_BUILD_FOR_UNIX)
|
||||
template SkAdvancedTypefaceMetrics::WidthRange* getAdvanceData(
|
||||
FT_Face face,
|
||||
int num_glyphs,
|
||||
|
Loading…
Reference in New Issue
Block a user