6806046: Hotspot build error when compiled from Visual Studio
authorikrylov
Thu Feb 19 04:54:22 2009 -0500 (12 months ago)
changeset 59282e4d969e7cb
parent 5903264b1424f72
child 5931b68c738c0d9
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
src/share/tools/MakeDeps/BuildConfig.java
--- a/src/share/tools/MakeDeps/BuildConfig.java Sun Feb 15 20:09:02 2009 -0800
+++ b/src/share/tools/MakeDeps/BuildConfig.java Thu Feb 19 04:54:22 2009 -0500
@@ -247,6 +247,7 @@ class BuildConfig {
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);