mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 09:58:12 +02:00
allow building against < 10.3 SDK.
This commit is contained in:
parent
adee31be18
commit
7283ba6d47
2 changed files with 16 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2005-06-21 T Rowley <tim.rowley@gmail.com>
|
||||
|
||||
* src/cairo-atsui-font.c: allow building against < 10.3 SDK.
|
||||
|
||||
2005-06-20 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* configure.in: Add -head to CAIRO_VERSION after tagging with
|
||||
|
|
|
|||
|
|
@ -38,7 +38,19 @@
|
|||
#include "cairo-atsui.h"
|
||||
#include "cairoint.h"
|
||||
#include "cairo.h"
|
||||
#if 0
|
||||
#include <iconv.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* FixedToFloat/FloatToFixed are 10.3+ SDK items - include definitions
|
||||
* here so we can use older SDKs.
|
||||
*/
|
||||
#ifndef FixedToFloat
|
||||
#define fixed1 ((Fixed) 0x00010000L)
|
||||
#define FixedToFloat(a) ((float)(a) / fixed1)
|
||||
#define FloatToFixed(a) ((Fixed)((float)(a) * fixed1))
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
cairo_scaled_font_t base;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue