harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r642237 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp
Date Fri, 28 Mar 2008 14:02:20 GMT
Author: gshimansky
Date: Fri Mar 28 07:02:17 2008
New Revision: 642237

URL: http://svn.apache.org/viewvc?rev=642237&view=rev
Log:
Applied patch from HARMONY-5659
[drlvm] Support for Windows Vista


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp?rev=642237&r1=642236&r2=642237&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp Fri Mar 28 07:02:17 2008
@@ -329,7 +329,8 @@
     if((osvi.dwMajorVersion == 4 && osvi.dwMinorVersion == 0) ||  // NT 4.0
        (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 0) ||  // Windows 2000
        (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 1) ||  // Windows XP
-       (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 2)) {  // Windows.NET
           
+       (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 2) ||  // Windows.NET
           
+       (osvi.dwMajorVersion == 6 && osvi.dwMinorVersion == 0)) {  // Windows Vista
           
             return JNI_OK;
     }
     printf("Windows %d.%d is not supported\n", osvi.dwMajorVersion, osvi.dwMinorVersion);



Mime
View raw message