X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39c2d6bde187994f45933a2ffa13435a31d12c02..05e0b047d879cdbfade7f2ab346c0acdf3e29f96:/src/jpeg/jdcolor.c?ds=inline diff --git a/src/jpeg/jdcolor.c b/src/jpeg/jdcolor.c index c518544960..cca2842297 100644 --- a/src/jpeg/jdcolor.c +++ b/src/jpeg/jdcolor.c @@ -12,6 +12,11 @@ #include "jinclude.h" #include "jpeglib.h" +#if defined(__VISAGECPP__) +/* Visual Age fixups for multiple declarations */ +# define null_convert null_convert2 /* already in jcmaint.c */ +# define grayscale_convert grayscale_convert2 /* already in jcmaint.c */ +#endif /* Private subobject */ @@ -394,3 +399,12 @@ jinit_color_deconverter (j_decompress_ptr cinfo) else cinfo->output_components = cinfo->out_color_components; } + +#if defined(__VISAGECPP__) +# ifdef null_convert2 +# undef null_convert2 +# endif +# ifdef grayscale_convert2 +# undef grayscale_convert2 +# endif +#endif