Module Name: xsrc Committed By: macallan Date: Tue Feb 4 09:56:25 UTC 2014
Modified Files: xsrc/external/mit/xf86-video-siliconmotion/dist/src: smi.h Log Message: #define __BYTE_ORDER BYTE_ORDER etc. now endianness detection actually works and colours look right on my Gdium To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ xsrc/external/mit/xf86-video-siliconmotion/dist/src/smi.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: xsrc/external/mit/xf86-video-siliconmotion/dist/src/smi.h diff -u xsrc/external/mit/xf86-video-siliconmotion/dist/src/smi.h:1.3 xsrc/external/mit/xf86-video-siliconmotion/dist/src/smi.h:1.4 --- xsrc/external/mit/xf86-video-siliconmotion/dist/src/smi.h:1.3 Mon Jun 3 08:50:48 2013 +++ xsrc/external/mit/xf86-video-siliconmotion/dist/src/smi.h Tue Feb 4 09:56:25 2014 @@ -68,6 +68,12 @@ authorization from the XFree86 Project a /* D E F I N I T I O N S */ /******************************************************************************/ +#ifdef __NetBSD__ +#define __BYTE_ORDER BYTE_ORDER +#define __LITTLE_ENDIAN LITTLE_ENDIAN +#define __BIG_ENDIAN BIG_ENDIAN +#endif + #ifndef SMI_DEBUG #define SMI_DEBUG 0 #endif