X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33ac7e6f01acbac1cff0ad400d8ea7f0bfd0a62f..f17fb297676dd3231b849ab7e55486473aa6ee21:/src/common/imagpng.cpp diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index cbbc10b261..c8054c25e4 100644 --- a/src/common/imagpng.cpp +++ b/src/common/imagpng.cpp @@ -56,12 +56,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxPNGHandler,wxImageHandler) #if wxUSE_LIBPNG -#if defined(__VISAGECPP__) -#define PNGLINKAGEMODE _Optlink -#elif defined(__WATCOMC__) -#define PNGLINKAGEMODE _cdecl -#else -#define PNGLINKAGEMODE +#ifndef PNGLINKAGEMODE + #define PNGLINKAGEMODE LINKAGEMODE #endif static void PNGLINKAGEMODE _PNG_stream_reader( png_structp png_ptr, png_bytep data, png_size_t length )