summaryrefslogtreecommitdiff
path: root/src/GetColor.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2007-10-24 19:22:22 +0300
committerDaniel Stone <daniel@fooishbar.org>2007-10-24 19:22:22 +0300
commite41477f37b0d9b74a056d22dbf0073a94eecb9d6 (patch)
tree598d63f253ca6ba9350d602cdec20650ccaaacfd /src/GetColor.c
parent11ea09745efa8de7dc82fe30ebd2393f08390957 (diff)
downloadxorg-lib-libX11-e41477f37b0d9b74a056d22dbf0073a94eecb9d6.tar.gz
Colours: Fix --disable-xcms
Disable large tracts of colour management code when passing --disable-xcms.
Diffstat (limited to 'src/GetColor.c')
-rw-r--r--src/GetColor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GetColor.c b/src/GetColor.c
index 530f479d..1166be5f 100644
--- a/src/GetColor.c
+++ b/src/GetColor.c
@@ -51,6 +51,7 @@ XColor *exact_def) /* RETURN */
XcmsColor cmsColor_exact;
Status ret;
+#ifdef XCMS
/*
* Let's Attempt to use Xcms and i18n approach to Parse Color
*/
@@ -76,6 +77,7 @@ XColor *exact_def) /* RETURN */
break;
}
}
+#endif
/*
* Xcms and i18n approach failed.