diff options
Diffstat (limited to 'plugins/AdvaImg/src/LibJPEG/jconfig.txt')
-rw-r--r-- | plugins/AdvaImg/src/LibJPEG/jconfig.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/AdvaImg/src/LibJPEG/jconfig.txt b/plugins/AdvaImg/src/LibJPEG/jconfig.txt index 27086a3644..6c92b82d39 100644 --- a/plugins/AdvaImg/src/LibJPEG/jconfig.txt +++ b/plugins/AdvaImg/src/LibJPEG/jconfig.txt @@ -2,6 +2,7 @@ * jconfig.txt
*
* Copyright (C) 1991-1994, Thomas G. Lane.
+ * Modified 2009-2013 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
@@ -91,12 +92,18 @@ */
#undef INCOMPLETE_TYPES_BROKEN
-/* Define "boolean" as unsigned char, not int, on Windows systems.
+/* Define "boolean" as unsigned char, not enum, on Windows systems.
*/
#ifdef _WIN32
#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
typedef unsigned char boolean;
#endif
+#ifndef FALSE /* in case these macros already exist */
+#define FALSE 0 /* values of boolean */
+#endif
+#ifndef TRUE
+#define TRUE 1
+#endif
#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
#endif
|