| 1 | #ifndef FONTFORGE_CARBON_H |
| 2 | #define FONTFORGE_CARBON_H |
| 3 | |
| 4 | #ifdef __Mac |
| 5 | |
| 6 | #ifdef __GNUC_STDC_INLINE__ |
| 7 | #undef __GNUC_STDC_INLINE__ |
| 8 | #endif |
| 9 | |
| 10 | #define AnchorPoint MacAnchorPoint |
| 11 | #define FontInfo MacFontInfo |
| 12 | #define KernPair MacKernPair |
| 13 | |
| 14 | #include <Carbon/Carbon.h> |
| 15 | |
| 16 | #undef FontInfo |
| 17 | #undef KernPair |
| 18 | #undef AnchorPoint |
| 19 | |
| 20 | |
| 21 | #endif /* __Mac */ |
| 22 | |
| 23 | #endif /* FONTFORGE_CARBON_H */ |