Some software also needs the FAR macro. Ugh. Also wordsmithing.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1432 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2014-11-25 10:07:43 +00:00
parent e2dd3e3e5c
commit 2a6b8316fc
3 changed files with 21 additions and 10 deletions

View File

@@ -182,14 +182,22 @@ typedef unsigned int JDIMENSION;
/* Originally, this macro was used as a way of defining function prototypes
* for both modern compilers as well as older compilers that did not support
* prototype parameters. libjpeg-turbo no longer supports these older
* compilers, but the macro is still included because there is some software
* out there that uses it.
* prototype parameters. libjpeg-turbo has never supported these older,
* non-ANSI compilers, but the macro is still included because there is some
* software out there that uses it.
*/
#define JMETHOD(type,methodname,arglist) type (*methodname) arglist
/* libjpeg-turbo no longer supports platforms that have far symbols (MS-DOS),
* but again, some software relies on this macro.
*/
#undef FAR
#define FAR
/*
* On a few systems, type boolean and/or its values FALSE, TRUE may appear
* in standard header files. Or you may have conflicts with application-