X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7a34956cb1b02b08fc44be253982cc99187a91e..4004f41e3ce1655f9fa05c55a697ac0f8677c23a:/src/jpeg/jmorecfg.h diff --git a/src/jpeg/jmorecfg.h b/src/jpeg/jmorecfg.h index 54e85ec823..a8fc0e7892 100644 --- a/src/jpeg/jmorecfg.h +++ b/src/jpeg/jmorecfg.h @@ -186,7 +186,7 @@ typedef unsigned int JDIMENSION; * or code profilers that require it. */ -#if defined(__VISAGECPP__) +#if defined(__VISAGECPP__) && !defined(JPEGLOCAL) /* need this for /common/imagjpeg.obj but not loclly */ /* a function called through method pointers: */ #define METHODDEF(type) static type _Optlink /* a function used only in its module: */ @@ -206,8 +206,6 @@ typedef unsigned int JDIMENSION; #define EXTERN(type) extern type #endif - - /* This macro is used to declare a "method", that is, a function pointer. * We want to supply prototype parameters if the compiler can cope. * Note that the arglist parameter must be parenthesized!