From dd61e8ed01072bc75060245923419eda94ca5d32 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sun, 8 Oct 2006 21:42:39 +0000 Subject: [PATCH] Use "cdecl" linkage mode for all ports with OpenWatcom (particularly WXPM). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/imagpng.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index d4c1cdb59f..da38225970 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__) || 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 -- 2.45.2