summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2012-11-16 08:36:23 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2012-11-16 08:36:23 +0000
commit9398bc1764eada4e2e4851ff396fa5f92960b530 (patch)
tree7e9823698cfa4576e80929dae5d53e789f215b84 /src
parentfcf9fa36515132d0a75bfcfb58cf9439dcbe6240 (diff)
[trunk] solve the problem with new opj_ symbols in color.c
Diffstat (limited to 'src')
-rw-r--r--src/bin/common/color.c8
1 files changed, 8 insertions, 0 deletions
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 <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