1. diff -ru openjpeg-1.5.1/libopenjpeg/openjpeg.h patched/libopenjpeg/openjpeg.h
  2. --- openjpeg-1.5.1/libopenjpeg/openjpeg.h 2012-09-13 09:58:39.000000000 +0200
  3. +++ patched/libopenjpeg/openjpeg.h 2013-06-15 11:23:32.370015134 +0200
  4. @@ -44,7 +44,7 @@
  5. #define OPJ_API
  6. #define OPJ_CALLCONV
  7. #else
  8. -#define OPJ_CALLCONV __stdcall
  9. +#define OPJ_CALLCONV __cdecl
  10. /*
  11. The following ifdef block is the standard way of creating macros which make exporting
  12. from a DLL simpler. All files within this DLL are compiled with the OPJ_EXPORTS