fixed warnings about main used as a variable name

This is partial cherry-pick of efbcd6fb83a9e66f8151957f74a9009daba629e3
from the main repository.
This commit is contained in:
Vadim Zeitlin 2002-04-22 15:22:19 +00:00 committed by Vadim Zeitlin
parent bccd1f6886
commit f964314af1

View File

@ -13,11 +13,13 @@
* supplies the equivalent of the main buffer in that case. * 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 #define JPEG_INTERNALS
#include "jinclude.h" #include "jinclude.h"
#include "jpeglib.h" #include "jpeglib.h"
/* /*
* In the current system design, the main buffer need never be a full-image * 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 * buffer; any full-height buffers will be found inside the coefficient or