]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagpng.cpp
Renamed helpwin.h/cpp to helpwnd.h/cpp to avoid clash
[wxWidgets.git] / src / common / imagpng.cpp
index c277cf17b7aa5c859bbebcb8c0a6188b0a22d611..fcb4b0a0e6eb9c0d1a0c1c0d03af2595388c4157 100644 (file)
@@ -105,7 +105,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxPNGHandler,wxImageHandler)
 #if wxUSE_STREAMS
 
 #ifndef PNGLINKAGEMODE
 #if wxUSE_STREAMS
 
 #ifndef PNGLINKAGEMODE
-    #if defined(__WATCOMC__) && ( defined(__WXMSW__) || __WATCOMC__ > 1230 )
+    #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
         // 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