diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-06-14 07:03:37 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-06-14 07:03:37 +0000 |
commit | 74691f82039a003eec079dc6476273526b2d0abc (patch) | |
tree | 33babc70e679476bb5a8f0f5bb10884a9680fe2f /graphics/libjxr | |
parent | ef132fc0bd2d9e83713091f6f20105cb1a6966dd (diff) | |
download | ports-74691f82039a003eec079dc6476273526b2d0abc.tar.gz ports-74691f82039a003eec079dc6476273526b2d0abc.zip |
Notes
Diffstat (limited to 'graphics/libjxr')
-rw-r--r-- | graphics/libjxr/files/patch-jxrlib_warnings | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/libjxr/files/patch-jxrlib_warnings b/graphics/libjxr/files/patch-jxrlib_warnings index b7578403b9c1..28b42db20a06 100644 --- a/graphics/libjxr/files/patch-jxrlib_warnings +++ b/graphics/libjxr/files/patch-jxrlib_warnings @@ -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; |