summaryrefslogtreecommitdiff
path: root/src/bin/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/common')
-rw-r--r--src/bin/common/color.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/bin/common/color.c b/src/bin/common/color.c
index a6fef145..4cefed38 100644
--- a/src/bin/common/color.c
+++ b/src/bin/common/color.c
@@ -45,11 +45,8 @@
#include <lcms.h>
#endif
-#ifdef CLRSPC_GRAY
+#ifdef USE_LEGACY
#define OPJ_CLRSPC_GRAY CLRSPC_GRAY
-#endif
-
-#ifdef CLRSPC_SRGB
#define OPJ_CLRSPC_SRGB CLRSPC_SRGB
#endif