[gs-cvs] rev 8644 - trunk/gs/src
giles at ghostscript.com
giles at ghostscript.com
Thu Apr 17 10:31:57 PDT 2008
Author: giles
Date: 2008-04-17 10:31:57 -0700 (Thu, 17 Apr 2008)
New Revision: 8644
Modified:
trunk/gs/src/gsnamecl.h
Log:
Allow the ENABLE_CUSTOM_COLOR_CALLBACK preprocessor macro to be set
from the compiler command line.
Modified: trunk/gs/src/gsnamecl.h
===================================================================
--- trunk/gs/src/gsnamecl.h 2008-04-15 18:08:49 UTC (rev 8643)
+++ trunk/gs/src/gsnamecl.h 2008-04-17 17:31:57 UTC (rev 8644)
@@ -25,9 +25,10 @@
* Enable custom client callback color processing. Note: There is a sample
* implementation in src/gsncdummy.c.
*/
+#ifndef ENABLE_CUSTOM_COLOR_CALLBACK
#define ENABLE_CUSTOM_COLOR_CALLBACK 0 /* 0 --> disabled, 1 --> enabled */
+#endif
-
#if ENABLE_CUSTOM_COLOR_CALLBACK
/* Ptr to custom color callback struct */
#define CUSTOM_COLOR_PTR void * custom_color_callback;
More information about the gs-cvs
mailing list