missing-declarations.patch 811 B

123456789101112131415161718192021222324252627
  1. --- a/image/decode/segdec.c
  2. +++ b/image/decode/segdec.c
  3. @@ -52,6 +52,13 @@ static Int DecodeSignificantAbsLevel (struct CAdaptiveHuffman *pAHexpt, BitIOInf
  4. //================================================================
  5. // Memory access functions
  6. //================================================================
  7. +#ifndef _BIG__ENDIAN_
  8. +#if (defined(WIN32) && !defined(UNDER_CE)) || (defined(UNDER_CE) && defined(_ARM_))
  9. +// WinCE ARM and Desktop x86
  10. +#else
  11. +U32 _byteswap_ulong(U32 bits);
  12. +#endif
  13. +#endif
  14. static U32 _FORCEINLINE _load4(void* pv)
  15. {
  16. #ifdef _BIG__ENDIAN_
  17. --- a/jxrgluelib/JXRGlueJxr.c
  18. +++ b/jxrgluelib/JXRGlueJxr.c
  19. @@ -27,6 +27,7 @@
  20. //
  21. //*@@@---@@@@******************************************************************
  22. #include <limits.h>
  23. +#include <wchar.h>
  24. #include <JXRGlue.h>