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:
Piotr Kubaj
2019-06-14 07:03:37 +00:00
parent ef132fc0bd
commit 74691f8203

View File

@@ -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;