when decompressing to a 4-component RGB buffer, the unused byte should be set
to 0xFF so that it can be interpreted as an opaque alpha channel.
+[5] Fixed regression issue whereby DevIL failed to build against libjpeg-turbo
+because libjpeg-turbo's distributed version of jconfig.h contained an INLINE
+macro, which conflicted with a similar macro in DevIL. This macro is used only
+internally when building libjpeg-turbo, so it was moved into config.h.
+
1.1.90 (1.2 beta1)
==================
#include "jinclude.h"
#include "jpeglib.h"
#include "jsimd.h"
+#include "config.h"
/* Private subobject */
/* Compiler does not support pointers to unspecified structures. */
#undef INCOMPLETE_TYPES_BROKEN
-/* How to obtain function inlining. */
-#undef INLINE
-
/* Compiler has <strings.h> rather than standard <string.h>. */
#undef NEED_BSD_STRINGS
#include "jinclude.h"
#include "jpeglib.h"
#include "jsimd.h"
+#include "config.h"
/* Private subobject */
#include "jinclude.h"
#include "jpeglib.h"
#include "jsimd.h"
+#include "config.h"
#ifdef UPSAMPLE_MERGING_SUPPORTED
#define VERSION "@VERSION@"\r
#define BUILD "@BUILD@"\r
#define PACKAGE_NAME "@CMAKE_PROJECT_NAME@"\r
+
+#ifndef INLINE
+#if defined(__GNUC__)
+#define INLINE __attribute__((always_inline))
+#elif defined(_MSC_VER)
+#define INLINE __forceinline
+#else
+#define INLINE
+#endif
+#endif
#endif
#define XMD_H /* prevent jmorecfg.h from redefining it */
-#ifndef INLINE
-#if defined(__GNUC__)
-#define INLINE __attribute__((always_inline))
-#elif defined(_MSC_VER)
-#define INLINE __forceinline
-#else
-#define INLINE
-#endif
-#endif
-
#ifdef JPEG_INTERNALS
#undef RIGHT_SHIFT_IS_UNSIGNED