]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagpng.cpp
Applied patch [ 1188724 ] missing header in carbon CFM builds
[wxWidgets.git] / src / common / imagpng.cpp
index ca4e72c240522b2b006d3c731ef8172b3610cf33..fcb4b0a0e6eb9c0d1a0c1c0d03af2595388c4157 100644 (file)
@@ -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