summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2012-04-20 14:58:18 +0100
committerChris Liddell <chris.liddell@artifex.com>2012-04-20 14:58:18 +0100
commitb9350f4a92c1765d13afbff3e6a4576c33290d91 (patch)
tree71c069fa910ea5a4c9dd8e4e411d6a7528cf266e /main
parent67a924e4b93987d2c915a161ce67bdf9c1d6d4a5 (diff)
Default to Windows UNICODE file names "off".
Bring the PCL build in-line with Ghostscript so that the halding of UNICODE file names is disabled in the default build. As with Ghostscript, adding "USEUNICODE=1" to the nmake parameters will enable that code. CLUSTER_UNTESTED
Diffstat (limited to 'main')
-rw-r--r--main/pcl6_msvc.mak10
1 files changed, 9 insertions, 1 deletions
diff --git a/main/pcl6_msvc.mak b/main/pcl6_msvc.mak
index 015a80dc8..28bcf4b75 100644
--- a/main/pcl6_msvc.mak
+++ b/main/pcl6_msvc.mak
@@ -6,6 +6,14 @@ MAKEFILE=$(MAKEFILE) ..\main\pcl6_msvc.mak
# Frequently changed configuration options follow:
+# To try the UNICODE/UTF8 you can comment out the following
+# or specify USEUNICODE=1 when you invoke nmake
+!if !defined(USEUNICODE) || "$(USEUNICODE)" != "1"
+UNICODECFLAGS=/DWINDOWS_NO_UNICODE
+!else
+UNICODECFLAGS=
+!endif
+
# Pick (uncomment) one font system technology
# ufst - Agfa universal font scaler.
# afs - Artifex font scaler (gs native).
@@ -416,7 +424,7 @@ XCFLAGS=$(XCFLAGS) /DWIN64
HAVE_SSE2_DEFINE=/DHAVE_SSE2
!endif
-XCFLAGS=$(XCFLAGS) $(PDL_INCLUDE_FLAGS) $(HAVE_SSE2_DEFINE)
+XCFLAGS=$(XCFLAGS) $(PDL_INCLUDE_FLAGS) $(HAVE_SSE2_DEFINE) $(UNICODECFLAGS)
!ifdef SBR
SBRFLAGS="/FR$(SBRDIR)\ "