X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33ac7e6f01acbac1cff0ad400d8ea7f0bfd0a62f..147043343ea6b36fd07f786ab4c5d2d6f6be09e6:/src/common/imagpng.cpp?ds=sidebyside 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 )