aboutsummaryrefslogtreecommitdiff
path: root/jmorecfg.h
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2014-11-25 10:09:33 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2014-11-25 10:09:33 +0000
commit92a681a9b6da356e02705712eabeeb2218064c66 (patch)
tree8e5ec5ab4c64bb8473e43d11fb00070c611e9761 /jmorecfg.h
parentb218cb3e17f8be5f35632629dc333354b8438719 (diff)
Some software also needs the FAR macro. Ugh. Also wordsmithing.
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1433 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'jmorecfg.h')
-rw-r--r--jmorecfg.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/jmorecfg.h b/jmorecfg.h
index 0ee8f50..108e7de 100644
--- a/jmorecfg.h
+++ b/jmorecfg.h
@@ -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-