]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagpng.cpp
toplevel code transferred to wxTopLevelWindow
[wxWidgets.git] / src / common / imagpng.cpp
index 016e594e2bd1194fd778317d062f3e5ffdb4c5ba..c8054c25e4b789f5abb64ed06b940d459bd317c2 100644 (file)
@@ -56,12 +56,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxPNGHandler,wxImageHandler)
 
 #if wxUSE_LIBPNG
 
 
 #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 )
 #endif
 
 static void PNGLINKAGEMODE _PNG_stream_reader( png_structp png_ptr, png_bytep data, png_size_t length )