X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a893a3152a6ac676b0409320daef188a7be1b7b..49c48f81905323f2a1fdd719b093528048e538aa:/src/common/imagpng.cpp diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index bf3b40ab49..84c0d89c93 100644 --- a/src/common/imagpng.cpp +++ b/src/common/imagpng.cpp @@ -109,7 +109,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxPNGHandler,wxImageHandler) #if wxUSE_STREAMS #ifndef PNGLINKAGEMODE - #if defined(__WATCOMC__) && defined(__WXMSW__) + #if defined(__WATCOMC__) && ( defined(__WXMSW__) || __WATCOMC__ > 1230 ) // we need an explicit cdecl for Watcom, at least according to // // http://sf.net/tracker/index.php?func=detail&aid=651492&group_id=9863&atid=109863