From: Vadim Zeitlin Date: Mon, 22 Apr 2002 15:22:19 +0000 (+0000) Subject: fixed warnings about main used as a variable name X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/efbcd6fb83a9e66f8151957f74a9009daba629e3 fixed warnings about main used as a variable name git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/jpeg/jdmainct.c b/src/jpeg/jdmainct.c index 13c956f5de..1c88b075e9 100644 --- a/src/jpeg/jdmainct.c +++ b/src/jpeg/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