--- old/make/lib/Lib-jdk.attach.gmk 2019-02-05 15:45:18.506734100 +0100 +++ new/make/lib/Lib-jdk.attach.gmk 2019-02-05 15:45:18.318734099 +0100 @@ -27,7 +27,7 @@ ################################################################################ -ifeq ($(OPENJDK_TARGET_OS), windows) +ifeq ($(call isTargetOs, windows), true) # In (at least) VS2013 and later, -DPSAPI_VERSION=1 is needed to generate # a binary that is compatible with windows versions older than 7/2008R2. # See MSDN documentation for GetProcessMemoryInfo for more information.