X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d3d756a6a3a174a23d987f399841a04c879acfa..749da44287b95c70c2de60adfd8912bf24be60d9:/src/common/imagpng.cpp?ds=inline diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index ca4e72c240..fcb4b0a0e6 100644 --- a/src/common/imagpng.cpp +++ b/src/common/imagpng.cpp @@ -105,7 +105,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxPNGHandler,wxImageHandler) #if wxUSE_STREAMS #ifndef PNGLINKAGEMODE - #if defined(__WATCOMC__) && defined(__WXMSW__) + #if defined(__WATCOMC__) && ( defined(__WXMSW__) || defined(__WXMGL__) ) // 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