Skip to content

Commit a515dc4

Browse files
authored
Merge pull request #78 from TheNicker/clang
Fixed compilation under Win32 with Clang
2 parents a96ed98 + 0ce9e73 commit a515dc4

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)