mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 20:28:02 +02:00
Add byteswap macros missing for bigendian architectures.
This commit is contained in:
parent
cc58bc3b9b
commit
6fb833a84c
3 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-01-19 Kristian Høgsberg <krh@redhat.com>
|
||||
|
||||
* src/cairo_pdf_surface.c: Add byteswap macros missing for
|
||||
bigendian architectures.
|
||||
|
||||
2005-01-19 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* test/Makefile.am (XFAIL_TESTS): Remove fill_rule and
|
||||
|
|
|
|||
|
|
@ -242,7 +242,9 @@ static const cairo_surface_backend_t cairo_pdf_surface_backend;
|
|||
#ifdef WORDS_BIGENDIAN
|
||||
|
||||
#define cpu_to_be16(v) (v)
|
||||
#define be16_to_cpu(v) (v)
|
||||
#define cpu_to_be32(v) (v)
|
||||
#define be32_to_cpu(v) (v)
|
||||
|
||||
#else
|
||||
|
||||
|
|
|
|||
|
|
@ -242,7 +242,9 @@ static const cairo_surface_backend_t cairo_pdf_surface_backend;
|
|||
#ifdef WORDS_BIGENDIAN
|
||||
|
||||
#define cpu_to_be16(v) (v)
|
||||
#define be16_to_cpu(v) (v)
|
||||
#define cpu_to_be32(v) (v)
|
||||
#define be32_to_cpu(v) (v)
|
||||
|
||||
#else
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue