diff options
author | Igor Melichev <igor.melichev@artifex.com> | 2006-10-10 14:36:57 +0000 |
---|---|---|
committer | Igor Melichev <igor.melichev@artifex.com> | 2006-10-10 14:36:57 +0000 |
commit | 7cb93121ae28bb6c03ab1e88803ae031ccd29afa (patch) | |
tree | 595e5c6fe3b3d96246cced5b84df0d2a339a340a /common | |
parent | 8f3d4da050c187a525ad591156aa2da1554d5658 (diff) |
Fix (MSVC makefiles): Inconsistent compiler options.
DETAILS :
1. PCL modules compiled with no /DGX_COLOR_INDEX_TYPE="unsigned __int64" .
In same time GS modules compiled with it.
It caused wrong offsets for gx_device structure fields (msvc_top.mak).
2. mkromfs.exe was missed (msvc_top.mak).
EXPECTED DIFFERENCES :
None.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2618 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'common')
-rw-r--r-- | common/msvc_top.mak | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/common/msvc_top.mak b/common/msvc_top.mak index 40d20dc20..7c5fbb8e2 100644 --- a/common/msvc_top.mak +++ b/common/msvc_top.mak @@ -41,6 +41,7 @@ GENCONF_XE=$(AUXGEN)genconf.exe GENDEV_XE=$(AUXGEN)gendev.exe GENINIT_XE=$(AUXGEN)geninit.exe GENHT_XE=$(AUXGEN)genht.exe +MKROMFS_XE=$(AUXGEN)mkromfs$(XEAUX) # Platform specification @@ -55,6 +56,22 @@ GLSRC=$(GLSRCDIR)$(D) GLGEN=$(GLGENDIR)$(D) GLOBJ=$(GLOBJDIR)$(D) #**************** END PATCHES + +#**************** from gs/lib/msvc32.mak +# 1 --> Use 64 bits for gx_color_index. This is required only for +# non standard devices or DeviceN process color model devices. +USE_LARGE_COLOR_INDEX=1 + +!if $(USE_LARGE_COLOR_INDEX) == 1 +# Definitions to force gx_color_index to 64 bits +LARGEST_UINTEGER_TYPE=unsigned __int64 +GX_COLOR_INDEX_TYPE=$(LARGEST_UINTEGER_TYPE) + +CFLAGS=$(CFLAGS) /DGX_COLOR_INDEX_TYPE="$(GX_COLOR_INDEX_TYPE)" +!endif +#**************** END from gs/lib/msvc32.mak + + !include $(COMMONDIR)\msvcdefs.mak !include $(COMMONDIR)\pcdefs.mak !include $(COMMONDIR)\generic.mak |