mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
Mac bustage fix for older SDK versions
This commit is contained in:
parent
e226d033ad
commit
fbeec59b69
@ -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)
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user