summaryrefslogtreecommitdiff
path: root/gs/Resource
diff options
context:
space:
mode:
authorRay Johnston <ray.johnston@artifex.com>2014-02-06 09:56:43 -0800
committerRay Johnston <ray.johnston@artifex.com>2014-02-06 13:05:56 -0800
commitdc3770910997a17386c65eaa44e73cf7cf5e8339 (patch)
treeb94c1c54c5baa1f20d38927c6c51101309cea81c /gs/Resource
parentab3faf9dd8b61b7adc83f370e8caf40f09a442bb (diff)
downloadghostpdl-dc3770910997a17386c65eaa44e73cf7cf5e8339.tar.gz
Fix Windows display device -dDisplayFormat=16#a0800 regression.
Commit 82fc3bd change to msvc.mak removed setting the GX_COLOR_INDEX_TYPE, and code in base/gxcindex.h set this incorrectly to 'ulong'. Add the code that was removed and also add conditional compile to set this from ARCH_SIZEOF_GX_COLOR_INDEX if it is not defined. Also add a 'compile time assert' that causes the build to fail if the sizeof(GX_COLOR_INDEX_TYPE) is not equal to ARCH_SIZEOF_GX_COLOR_INDEX. Thanks to Robin for finding this trick on the web.
Diffstat (limited to 'gs/Resource')
0 files changed, 0 insertions, 0 deletions