X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d97d44e14d05f9a6da2c5414209b3858d47a520..88594d02eb59a55ac85d3210a49d02918124617b:/src/common/imagpng.cpp diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index 016e594e2b..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__) && !defined(__DOS__) -#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 )