diff --git a/jdmainct.c b/jdmainct.c index 11e41b2..c3f5b9e 100644 --- a/jdmainct.c +++ b/jdmainct.c @@ -13,11 +13,13 @@ * supplies the equivalent of the main buffer in that case. */ +/* suppress the warnings about using main for the variable names */ +#define main jpegMain + #define JPEG_INTERNALS #include "jinclude.h" #include "jpeglib.h" - /* * In the current system design, the main buffer need never be a full-image * buffer; any full-height buffers will be found inside the coefficient or