]> granicus.if.org Git - openjpeg/commitdiff
[trunk] solve the problem with new opj_ symbols in color.c
authorMickael Savinaud <savmickael@users.noreply.github.com>
Fri, 16 Nov 2012 08:36:23 +0000 (08:36 +0000)
committerMickael Savinaud <savmickael@users.noreply.github.com>
Fri, 16 Nov 2012 08:36:23 +0000 (08:36 +0000)
src/bin/common/color.c

index 13b1337e0f63ae03a2f8feba2292293bce9b458e..a6fef14535950e28eabd048ff4f4ab6b645de2df 100644 (file)
 #include <lcms.h>
 #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