]> git.saurik.com Git - wxWidgets.git/commitdiff
Use "cdecl" linkage mode for all ports with OpenWatcom (particularly WXPM).
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 8 Oct 2006 21:42:39 +0000 (21:42 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 8 Oct 2006 21:42:39 +0000 (21:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/imagpng.cpp

index d4c1cdb59f8eedc62d073febce9b57a28a3e77ae..da382259703441959b2964806727e9a5825f35a7 100644 (file)
@@ -105,7 +105,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxPNGHandler,wxImageHandler)
 #if wxUSE_STREAMS
 
 #ifndef PNGLINKAGEMODE
-    #if defined(__WATCOMC__) && ( defined(__WXMSW__) || defined(__WXMGL__) )
+    #ifdef __WATCOMC__
         // 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