X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77aecce0a6e4e76d2fdaa4a3c55f683de92b93d3..1978421a6d8b81c1f8a961da4b8ddf544fec7b1b:/src/png/pngconf.h diff --git a/src/png/pngconf.h b/src/png/pngconf.h index 46fc4d8114..7b60f45b5b 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) @@ -227,7 +227,7 @@ */ #ifndef MACOS # if (defined(__MWERKS__) && defined(macintosh)) || defined(applec) || \ - defined(THINK_C) || defined(__SC__) || defined(TARGET_OS_MAC) + defined(THINK_C) || (defined(__SC__) && !defined(__DMC__))|| defined(TARGET_OS_MAC) # define MACOS # endif #endif @@ -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