Skip to content

Commit 0ce9e73

Browse files
author
Lior Lahav
committed
Fixed compilation under Win32 with Clang
1 parent a96ed98 commit 0ce9e73

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

3rdParty/LibJXR/image/decode/segdec.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ static Int DecodeSignificantAbsLevel (struct CAdaptiveHuffman *pAHexpt, BitIOInf
5252
//================================================================
5353
// Memory access functions
5454
//================================================================
55+
#if !((defined(WIN32) && !defined(UNDER_CE) && (!defined(__MINGW32__) || defined(__MINGW64_TOOLCHAIN__))) || (defined(UNDER_CE) && defined(_ARM_)))
5556
U32 _byteswap_ulong(U32);
57+
#endif
5658

5759
static U32 _FORCEINLINE _load4(void* pv)
5860
{

0 commit comments

Comments
 (0)