summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-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