#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 {
struct jpeg_input_controller pub; /* public fields */
- boolean inheaders; /* TRUE until first SOS is reached */
+ wxjpeg_boolean inheaders; /* TRUE until first SOS is reached */
} my_input_controller;
typedef my_input_controller * my_inputctl_ptr;
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;
}
inputctl->inheaders = TRUE;
}
-#if defined(__VISAGECPP__)
-# ifdef start_input_pass2
-# undef start_input_pass2
-# endif
-#endif