summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorL Peter Deutsch <lpd@ghostscript.com>2000-03-31 05:06:53 +0000
committerL Peter Deutsch <lpd@ghostscript.com>2000-03-31 05:06:53 +0000
commit36e2ff6aed679a54d7ae9f063f67d9fb5e1d8018 (patch)
treec76c386486c6ea896055ef0a668e541762a01d95
parent756c2dc6252d0b31a8e3ed43e536e6a25c3c8b3d (diff)
downloadghostpdl-36e2ff6aed679a54d7ae9f063f67d9fb5e1d8018.tar.gz
Fix: The MSVC++ 6 compiler no longer recognizes the /FPi87 switch.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@225 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r--gs/src/msvccmd.mak5
1 files changed, 3 insertions, 2 deletions
diff --git a/gs/src/msvccmd.mak b/gs/src/msvccmd.mak
index a7c81d584..47c2b4927 100644
--- a/gs/src/msvccmd.mak
+++ b/gs/src/msvccmd.mak
@@ -1,4 +1,4 @@
-# Copyright (C) 1997, 1998 Aladdin Enterprises. All rights reserved.
+# Copyright (C) 1997, 2000 Aladdin Enterprises. All rights reserved.
#
# This file is part of Aladdin Ghostscript.
#
@@ -20,6 +20,7 @@
# Windows NT or Windows 95 platform.
# Created 1997-05-22 by L. Peter Deutsch from msvc4/5 makefiles.
# edited 1997-06-xx by JD to factor out interpreter-specific sections
+# edited 2000-03-30 by lpd to make /FPi87 conditional on MSVC version
# Set up linker differently for MSVC 4 vs. later versions
@@ -97,7 +98,7 @@ CPFLAGS=/GB $(QI0f)
CPFLAGS=/GB $(QI0f)
!endif
-!if $(FPU_TYPE)>0
+!if $(FPU_TYPE)>0 && $(MSVC_VERSION)<6
FPFLAGS=/FPi87
!else
FPFLAGS=