diff --git a/make/modules/jdk.sctp/Java.gmk b/make/modules/jdk.sctp/Java.gmk index 8e2a7d6be81..10793d45c84 100644 --- a/make/modules/jdk.sctp/Java.gmk +++ b/make/modules/jdk.sctp/Java.gmk @@ -46,7 +46,7 @@ ifeq ($(call isTargetOs, aix), true) endif ifeq ($(call isTargetOsType, unix), true) - ifeq ($(call isTargetOs, macos aix), false) + ifeq ($(call isTargetOs, macosx aix), false) # This class is not needed on "unix" because SCTP in Java is supported for that platform EXCLUDE_FILES += $(TOPDIR)/src/jdk.sctp/share/classes/sun/nio/ch/sctp/UnsupportedUtil.java endif