[cairo-commit] cairo/src cairo_pdf_surface.c,1.5,1.6

Kristian Hogsberg commit at pdx.freedesktop.org
Wed Jan 19 08:03:55 PST 2005


Committed by: krh

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv3832/src

Modified Files:
	cairo_pdf_surface.c 
Log Message:
2005-01-19  Kristian Høgsberg  <krh at redhat.com>

        * src/cairo_pdf_surface.c: Add byteswap macros missing for
        bigendian architectures.



Index: cairo_pdf_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_pdf_surface.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cairo_pdf_surface.c	17 Jan 2005 22:59:49 -0000	1.5
+++ cairo_pdf_surface.c	19 Jan 2005 16:03:53 -0000	1.6
@@ -242,7 +242,9 @@
 #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
 




More information about the cairo-commit mailing list