From 90567e57f97452368d52f83c7c8bd82664b9c707 Mon Sep 17 00:00:00 2001 From: bae Date: Sat, 2 Oct 2010 12:41:20 +0400 Subject: [PATCH] 6988213: lcms build failure on windows-amd64 Reviewed-by: igor, prr --- make/sun/cmm/lcms/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/make/sun/cmm/lcms/Makefile b/make/sun/cmm/lcms/Makefile index 1072c2fac..702c32680 100644 --- a/make/sun/cmm/lcms/Makefile +++ b/make/sun/cmm/lcms/Makefile @@ -80,7 +80,12 @@ vpath %.c $(SHARE_SRC)/native/$(PKGDIR) vpath %.c $(SHARE_SRC)/native/sun/java2d ifeq ($(PLATFORM), windows) -OTHER_CFLAGS += -DCMS_IS_WINDOWS_ -Dsqrtf=sqrt +OTHER_CFLAGS += -DCMS_IS_WINDOWS_ + +ifeq ($(COMPILER_VERSION), VS2003) +OTHER_CFLAGS += -Dsqrtf=sqrt +endif + OTHER_LDLIBS = $(OBJDIR)/../../../sun.awt/awt/$(OBJDIRNAME)/awt.lib OTHER_INCLUDES += -I$(SHARE_SRC)/native/sun/java2d \ -I$(SHARE_SRC)/native/sun/awt/debug -- GitLab