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