From efbcd6fb83a9e66f8151957f74a9009daba629e3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 22 Apr 2002 15:22:19 +0000 Subject: [PATCH] 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 --- src/jpeg/jdmainct.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.2