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:
parent
bccd1f6886
commit
f964314af1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user