X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77aecce0a6e4e76d2fdaa4a3c55f683de92b93d3..817f640621b627025a9236b36a916a5403319969:/src/png/pngconf.h?ds=sidebyside diff --git a/src/png/pngconf.h b/src/png/pngconf.h index 46fc4d8114..e4fbd8c41c 100644 --- a/src/png/pngconf.h +++ b/src/png/pngconf.h @@ -1,6 +1,6 @@ /* pngconf.h - machine configurable file for libpng * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) @@ -1157,9 +1157,13 @@ typedef z_stream FAR * png_zstreamp; # endif #endif -#if defined(__CYGWIN__) +#if defined(__CYGWIN__) || defined(__WINE__) # undef PNGAPI -# define PNGAPI __cdecl +# if defined(__WINE__) +# define PNGAPI +# else +# define PNGAPI __cdecl +# endif # undef PNG_IMPEXP # define PNG_IMPEXP #endif @@ -1228,7 +1232,7 @@ typedef z_stream FAR * png_zstreamp; # endif # endif /* PNG_IMPEXP */ #else /* !(DLL || non-cygwin WINDOWS) */ -# if (defined(__IBMC__) || defined(__IBMCPP__)) && defined(__OS2__) +# if (defined(__IBMC__) || defined(IBMCPP__)) && defined(__OS2__) # define PNGAPI _System # define PNG_IMPEXP # else @@ -1242,7 +1246,7 @@ typedef z_stream FAR * png_zstreamp; #endif #if defined(__VISAGECPP__) -/* I don't compile with _System linkage, ever! */ +/* I don't compile with this _System linkage for wxWindows */ # ifdef PNGAPI # undef PNGAPI # endif