X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7bfbbc0efb6ed51fa366f49309b092f808b4df63..3338a5bde55eabf53f0aea4eb9f01a8b45b4039d:/src/jpeg/jdinput.c diff --git a/src/jpeg/jdinput.c b/src/jpeg/jdinput.c index 324d0ffe0c..942a99c141 100644 --- a/src/jpeg/jdinput.c +++ b/src/jpeg/jdinput.c @@ -15,11 +15,6 @@ #include "jinclude.h" #include "jpeglib.h" -#if defined(__VISAGECPP__) -/* Visual Age fixups for multiple declarations */ -# define start_input_pass start_input_pass2 /* already in jcmaint.c */ -#endif - /* Private state */ typedef struct { @@ -260,7 +255,11 @@ start_input_pass (j_decompress_ptr cinfo) per_scan_setup(cinfo); latch_quant_tables(cinfo); (*cinfo->entropy->start_pass) (cinfo); +#if defined(__VISAGECPP__) + (*cinfo->coef->start_input_pass2) (cinfo); +#else (*cinfo->coef->start_input_pass) (cinfo); +#endif cinfo->inputctl->consume_input = cinfo->coef->consume_data; } @@ -384,8 +383,3 @@ jinit_input_controller (j_decompress_ptr cinfo) inputctl->inheaders = TRUE; } -#if defined(__VISAGECPP__) -# ifdef start_input_pass2 -# undef start_input_pass2 -# endif -#endif