Mac bustage fix for older SDK versions

This commit is contained in:
vladimir%pobox.com 2006-02-22 04:38:27 +00:00
parent e226d033ad
commit fbeec59b69
2 changed files with 14 additions and 4 deletions

View File

@ -110,10 +110,13 @@ EXPORTS += cairo-os2.h cairo-os2-private.h
endif
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
CSRCS += cairo-quartz-surface.c \
cairo-quartz2-surface.c \
cairo-atsui-font.c
EXPORTS += cairo-quartz.h cairo-quartz2.h cairo-atsui.h
CSRCS += cairo-quartz-surface.c cairo-atsui-font.c
EXPORTS += cairo-quartz.h cairo-atsui.h
ifdef MOZ_ENABLE_CAIRO_GFX
CSRCS += cairo-quartz2-surface.c
EXPORTS += cairo-quartz2.h
endif
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),beos)

View File

@ -50,6 +50,13 @@
#define FloatToFixed(a) ((Fixed)((float)(a) * fixed1))
#endif
/* If this isn't defined, we must be building on non-intel,
* hence it will be 0.
*/
#ifdef kCGBitmapByteOrder32Host
#define kCGBitmapByteOrder32Host 0
#endif
typedef struct _cairo_atsui_font_face cairo_atsui_font_face_t;
typedef struct _cairo_atsui_font cairo_atsui_font_t;