From c49c2e80e8e16b3a9e23f1d3cfc2544e1fa785b5 Mon Sep 17 00:00:00 2001 From: DRC Date: Sat, 9 Oct 2010 19:09:41 +0000 Subject: [PATCH] Oops. Forgot to include the new macro header --- jpegcomp.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 jpegcomp.h diff --git a/jpegcomp.h b/jpegcomp.h new file mode 100644 index 00000000..8891fb57 --- /dev/null +++ b/jpegcomp.h @@ -0,0 +1,18 @@ +/* + * jpegcomp.h + * + * Copyright (C) 2010, D. R. Commander + * For conditions of distribution and use, see the accompanying README file. + * + * JPEG compatibility macros + * These declarations are considered internal to the JPEG library; most + * applications using the library shouldn't need to include this file. + */ + +#if JPEG_LIB_VERSION >= 70 +#define _DCT_scaled_size compptr->DCT_h_scaled_size +#define _min_DCT_scaled_size cinfo->min_DCT_h_scaled_size +#else +#define _DCT_scaled_size compptr->DCT_scaled_size +#define _min_DCT_scaled_size cinfo->min_DCT_scaled_size +#endif