aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/StNColor.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/StNColor.c')
-rw-r--r--nx-X11/lib/X11/StNColor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/lib/X11/StNColor.c b/nx-X11/lib/X11/StNColor.c
index a557721e0..8b821c3ef 100644
--- a/nx-X11/lib/X11/StNColor.c
+++ b/nx-X11/lib/X11/StNColor.c
@@ -46,6 +46,7 @@ int flags) /* DoRed, DoGreen, DoBlue */
XcmsColor cmsColor_exact;
XColor scr_def;
+#ifdef XCMS
/*
* Let's Attempt to use Xcms approach to Parse Color
*/
@@ -62,6 +63,7 @@ int flags) /* DoRed, DoGreen, DoBlue */
* name. Thus pass name to the X Server.
*/
}
+#endif
/*
* The Xcms and i18n methods failed, so lets pass it to the server