use PNGAPI if it is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -105,7 +105,9 @@ IMPLEMENT_DYNAMIC_CLASS(wxPNGHandler,wxImageHandler)
|
||||
#if wxUSE_STREAMS
|
||||
|
||||
#ifndef PNGLINKAGEMODE
|
||||
#ifdef __WATCOMC__
|
||||
#ifdef PNGAPI
|
||||
#define PNGLINKAGEMODE PNGAPI
|
||||
#elif defined(__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
|
||||
|
Reference in New Issue
Block a user