summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/pcl6_msvc.mak7
-rw-r--r--xps/xps_msvc.mak5
2 files changed, 7 insertions, 5 deletions
diff --git a/main/pcl6_msvc.mak b/main/pcl6_msvc.mak
index 383f4d0e3..c48923470 100644
--- a/main/pcl6_msvc.mak
+++ b/main/pcl6_msvc.mak
@@ -271,6 +271,13 @@ PCLXL_ROMFS_ARGS= -P ../urwfonts -d ttfonts /
!endif
# end PL_SCALER == afs
+# a 64 bit type is needed for devicen color space/model support but
+# carries a performance burden. Change unsigned long to unsigned long
+# long to enable large color indices.
+!ifndef GX_COLOR_INDEX_DEFINE
+GX_COLOR_INDEX_DEFINE=-DGX_COLOR_INDEX_TYPE="unsigned long"
+!endif
+
!ifdef XPS_INCLUDED
EXTRALIBS=$(EXPATLIB)
!endif
diff --git a/xps/xps_msvc.mak b/xps/xps_msvc.mak
index 8c2959dfe..5ccdb7384 100644
--- a/xps/xps_msvc.mak
+++ b/xps/xps_msvc.mak
@@ -132,11 +132,6 @@ TARGET_XE=$(GENDIR)\gxps
COMPILE_INITS=0
!endif
-# configuration assumptions
-!ifndef GX_COLOR_INDEX_DEFINE
-GX_COLOR_INDEX_DEFINE=-DGX_COLOR_INDEX_TYPE="unsigned long long"
-!endif
-
# "Subclassed" makefile
!include $(MAINSRCDIR)\pcl6_msvc.mak