6806046: Hotspot build error when compiled from Visual Studio
Summary: Define HOTSPOT_LIB_ARCH in the preprocessor flags of the generated projects
Reviewed-by: kamg, xlu
--- a/hotspot/src/share/tools/MakeDeps/BuildConfig.java Sun Feb 15 20:09:02 2009 -0800
+++ b/hotspot/src/share/tools/MakeDeps/BuildConfig.java Thu Feb 19 04:54:22 2009 -0500
@@ -247,6 +247,7 @@
sysDefines.add("HOTSPOT_BUILD_USER="+System.getProperty("user.name"));
sysDefines.add("HOTSPOT_BUILD_TARGET=\\\""+get("Build")+"\\\"");
sysDefines.add("_JNI_IMPLEMENTATION_");
+ sysDefines.add("HOTSPOT_LIB_ARCH=\\\"i486\\\"");
sysDefines.addAll(defines);