changeset 11831:f8983c5e9ef4

8077422: hprof agent: Build failed with VS2013 Update 4 Reviewed-by: sla, tbell
author erikj
date Tue, 05 May 2015 12:49:11 +0200
parents 016842ab8d98
children 51f5501a54a6
files make/lib/Lib-jdk.hprof.agent.gmk
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/lib/Lib-jdk.hprof.agent.gmk	Mon May 04 17:56:33 2015 +0800
+++ b/make/lib/Lib-jdk.hprof.agent.gmk	Tue May 05 12:49:11 2015 +0200
@@ -49,6 +49,7 @@
     CFLAGS := $(CFLAGS_JDKLIB) $(CFLAGS_WARNINGS_ARE_ERRORS) \
         $(BUILD_LIBHPROF_CFLAGS), \
     CFLAGS_debug := -DHPROF_LOGGING, \
+    CFLAGS_windows := -D_WINSOCK_DEPRECATED_NO_WARNINGS, \
     MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libhprof/mapfile-vers, \
     LDFLAGS := $(LDFLAGS_JDKLIB) \
         $(call SET_SHARED_LIBRARY_ORIGIN), \