[cairo-commit] libpixman/src icint.h,1.19,1.20

David Reveman commit at pdx.freedesktop.org
Sat Sep 11 19:33:25 PDT 2004


Committed by: davidr

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

Modified Files:
	icint.h 
Log Message:
Byte-order fix

Index: icint.h
===================================================================
RCS file: /cvs/cairo/libpixman/src/icint.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** icint.h	16 Apr 2004 15:32:53 -0000	1.19
--- icint.h	12 Sep 2004 02:33:23 -0000	1.20
***************
*** 24,27 ****
--- 24,31 ----
  #define _ICINT_H_
  
+ #ifdef HAVE_CONFIG_H
+ #  include "../config.h"
+ #endif
+ 
  #include "pixman.h"
  
***************
*** 62,66 ****
--- 66,79 ----
  #endif
  
+ #define LSBFirst 0
+ #define MSBFirst 1
  
+ #ifdef WORDS_BIGENDIAN
+ #  define IMAGE_BYTE_ORDER MSBFirst
+ #  define BITMAP_BIT_ORDER MSBFirst
+ #else
+ #  define IMAGE_BYTE_ORDER LSBFirst
+ #  define BITMAP_BIT_ORDER LSBFirst
+ #endif
  
  




More information about the cairo-commit mailing list