X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3de71bc8779aa0f67da400d3c9ae69553edc79ba..88594d02eb59a55ac85d3210a49d02918124617b:/src/common/quantize.cpp?ds=sidebyside

diff --git a/src/common/quantize.cpp b/src/common/quantize.cpp
index 6b702ebf5e..a29113876e 100644
--- a/src/common/quantize.cpp
+++ b/src/common/quantize.cpp
@@ -90,7 +90,7 @@ typedef struct {
         JSAMPLE *sample_range_limit, *srl_orig;
 } j_decompress;
 
-#ifdef __WINDOWS__
+#if defined(__WINDOWS__) && !defined(__WXMICROWIN__)
     #define JMETHOD(type,methodname,arglist)  type (__cdecl methodname) arglist
 #else
     #define JMETHOD(type,methodname,arglist)  type (methodname) arglist