Bug 1124180 - use MOZ_BIG_ENDIAN in nsJPEGDecoder.cpp; r=seth

This commit is contained in:
Nathan Froyd 2015-01-21 09:16:41 -05:00
parent b1dd433fec
commit 73313cc640

View File

@ -18,12 +18,13 @@
#include "jerror.h"
#include "gfxPlatform.h"
#include "mozilla/Endian.h"
extern "C" {
#include "iccjpeg.h"
}
#if defined(IS_BIG_ENDIAN)
#if MOZ_BIG_ENDIAN
#define MOZ_JCS_EXT_NATIVE_ENDIAN_XRGB JCS_EXT_XRGB
#else
#define MOZ_JCS_EXT_NATIVE_ENDIAN_XRGB JCS_EXT_BGRX