graphics/libjxr: fix build on big-endian architectures
_BIG__ENDIAN__ should be spelled _BIG__ENDIAN_ (one _ too much). PR: 238502 Approved by: mi@ALDAN.algebra.com (maintainer), mat (mentor) Differential Revision: https://reviews.freebsd.org/D20620
This commit is contained in:
@@ -12,7 +12,7 @@ https://archive.codeplex.com/projects/jxrlib/issues/13/1483483).
|
||||
-#ifdef _BIG__ENDIAN_
|
||||
-#define _byteswap_ulong(x) (x)
|
||||
-#else // _BIG__ENDIAN_
|
||||
+#ifndef _BIG__ENDIAN__
|
||||
+#ifndef _BIG__ENDIAN_
|
||||
U32 _byteswap_ulong(U32 bits)
|
||||
{
|
||||
U32 r = (bits & 0xffu) << 24;
|
||||
|
||||
Reference in New Issue
Block a user