8077422: hprof agent: Build failed with VS2013 Update 4
authorerikj
Tue, 05 May 2015 12:49:11 +0200
changeset 30323 1b121c8569a2
parent 30322 c08d5c975168
child 30324 6f3109ded2b8
8077422: hprof agent: Build failed with VS2013 Update 4 Reviewed-by: sla, tbell
jdk/make/lib/Lib-jdk.hprof.agent.gmk
--- a/jdk/make/lib/Lib-jdk.hprof.agent.gmk	Mon May 04 17:56:33 2015 +0800
+++ b/jdk/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), \