X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/efbcd6fb83a9e66f8151957f74a9009daba629e3..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/jpeg/jdmainct.c diff --git a/src/jpeg/jdmainct.c b/src/jpeg/jdmainct.c index 1c88b075e9..cd55e8ce1c 100644 --- a/src/jpeg/jdmainct.c +++ b/src/jpeg/jdmainct.c @@ -119,7 +119,7 @@ typedef struct { /* Pointer to allocated workspace (M or M+2 row groups). */ JSAMPARRAY buffer[MAX_COMPONENTS]; - boolean buffer_full; /* Have we gotten an iMCU row from decoder? */ + wxjpeg_boolean buffer_full; /* Have we gotten an iMCU row from decoder? */ JDIMENSION rowgroup_ctr; /* counts row groups output to postprocessor */ /* Remaining fields are only used in the context case. */ @@ -141,6 +141,12 @@ typedef my_main_controller * my_main_ptr; #define CTX_POSTPONED_ROW 2 /* feeding postponed row group */ +#if defined(__VISAGECPP__) +/* Visual Age fixups for multiple declarations */ +# define start_pass_main start_pass_main2 /* already in jcmaint.c */ +# define process_data_simple_main process_data_simple_main2 /* already in jcmaint.c */ +#endif + /* Forward declarations */ METHODDEF(void) process_data_simple_main JPP((j_decompress_ptr cinfo, JSAMPARRAY output_buf, @@ -475,7 +481,7 @@ process_data_crank_post (j_decompress_ptr cinfo, */ GLOBAL(void) -jinit_d_main_controller (j_decompress_ptr cinfo, boolean need_full_buffer) +jinit_d_main_controller (j_decompress_ptr cinfo, wxjpeg_boolean need_full_buffer) { my_main_ptr main; int ci, rgroup, ngroups; @@ -512,3 +518,12 @@ jinit_d_main_controller (j_decompress_ptr cinfo, boolean need_full_buffer) (JDIMENSION) (rgroup * ngroups)); } } + +#if defined(__VISAGECPP__) +# ifdef start_pass_main2 +# undef start_pass_main2 +# endif +# ifdef process_data_simple_main2 +# undef process_data_simple_main2 +# endif +#endif