File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -874,12 +874,13 @@ void sysinfo_load(int profile){
874
874
#if defined(TARGET_I386) && !defined(TARGET_X86_64)
875
875
arch = " x86" ;
876
876
#elif defined(TARGET_X86_64)
877
- if (profile == PROFILE_LINUX_X64) {
877
+ if (profile == PROFILE_WINDOWS_7_X64 || profile == PROFILE_LINUX_X64
878
+ || profile == PROFILE_FREEBSD_X64){
878
879
arch = " x64" ;
879
- } else if (profile == PROFILE_FREEBSD_X64) {
880
- arch = " x64 " ;
881
- } else {
882
- assert ( " invalid profile " ) ;
880
+ } else if (profile == PROFILE_LINUX_X86 || profile == PROFILE_WINDOWS_2000_X86
881
+ || profile == PROFILE_WINDOWS_XPSP2_X86 || profile == PROFILE_WINDOWS_XPSP3_X86
882
+ || profile == PROFILE_WINDOWS_7_X86) {
883
+ arch = " x86 " ;
883
884
}
884
885
#elif defined(TARGET_ARM) &&!defined(TARGET_AARCH64)
885
886
arch = " arm" ;
You can’t perform that action at this time.
0 commit comments