From: Mickael Savinaud Date: Fri, 16 Nov 2012 08:36:23 +0000 (+0000) Subject: [trunk] solve the problem with new opj_ symbols in color.c X-Git-Tag: version.2.0~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9398bc1764eada4e2e4851ff396fa5f92960b530;p=openjpeg [trunk] solve the problem with new opj_ symbols in color.c --- diff --git a/src/bin/common/color.c b/src/bin/common/color.c index 13b1337e..a6fef145 100644 --- a/src/bin/common/color.c +++ b/src/bin/common/color.c @@ -45,6 +45,14 @@ #include #endif +#ifdef CLRSPC_GRAY +#define OPJ_CLRSPC_GRAY CLRSPC_GRAY +#endif + +#ifdef CLRSPC_SRGB +#define OPJ_CLRSPC_SRGB CLRSPC_SRGB +#endif + /*-------------------------------------------------------- Matrix for sYCC, Amendment 1 to IEC 61966-2-1