changeset 11874:0c9f3d5e0694

8079248: JDK fails with "jdk\\bin\\management_ext.dll: The specified procedure could not be found" Reviewed-by: jbachorik, dholmes, erikj, ihse
author sla
date Mon, 04 May 2015 11:35:10 +0200
parents 1e2895c90eea
children 2a9879bb24a1 7b1fe732d230
files make/lib/Lib-java.management.gmk make/lib/Lib-jdk.management.gmk
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/make/lib/Lib-java.management.gmk	Fri May 01 03:56:04 2015 -0700
+++ b/make/lib/Lib-java.management.gmk	Mon May 04 11:35:10 2015 +0200
@@ -38,11 +38,6 @@
     $(LIBJAVA_HEADER_FLAGS) \
     #
 
-# 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.
-BUILD_LIBMANAGEMENT_CFLAGS += -DPSAPI_VERSION=1
-
 LIBMANAGEMENT_OPTIMIZATION := HIGH
 ifneq ($(findstring $(OPENJDK_TARGET_OS), solaris linux), )
   ifeq ($(ENABLE_DEBUG_SYMBOLS), true)
--- a/make/lib/Lib-jdk.management.gmk	Fri May 01 03:56:04 2015 -0700
+++ b/make/lib/Lib-jdk.management.gmk	Mon May 04 11:35:10 2015 +0200
@@ -39,6 +39,11 @@
     $(LIBJAVA_HEADER_FLAGS) \
     #
 
+# 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.
+BUILD_LIBMANAGEMENT_EXT_CFLAGS += -DPSAPI_VERSION=1
+
 LIBMANAGEMENT_EXT_OPTIMIZATION := HIGH
 ifneq ($(findstring $(OPENJDK_TARGET_OS), solaris linux), )
   ifeq ($(ENABLE_DEBUG_SYMBOLS), true)