Changeset 107938 in vbox
- Timestamp:
- Jan 27, 2025 11:46:51 AM (4 weeks ago)
- svn:sync-xref-src-repo-rev:
- 167183
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/Stub/VBoxStub.cpp
r106984 r107938 472 472 } 473 473 474 /** 475 * Returns a string for the given package architecture. 476 * 477 * @returns String for the given package architecture, or "<Unknown>" if invalid/unknown. 478 * @param enmPkgArch Package architecture to return as a string. 479 */ 480 static const char *GetPackageArchStr(VBOXSTUBPKGARCH enmPkgArch) 481 { 482 switch (enmPkgArch) 483 { 484 case VBOXSTUBPKGARCH_X86: return "x86"; 485 case VBOXSTUBPKGARCH_AMD64: return "x86_64"; 486 case VBOXSTUBPKGARCH_ARM64: return "arm64"; 487 default: break; 488 } 489 490 return "<Unknown>"; 491 } 474 492 475 493 /** … … 1450 1468 } 1451 1469 1470 VBOXSTUBPKGARCH const enmPkgArch = GetNativePackageArch(); 1471 1452 1472 if (g_iVerbosity) 1453 { 1473 { 1474 RTPrintf("Host architecture : %s\n", GetPackageArchStr(enmPkgArch)); 1454 1475 RTPrintf("Extraction path : %s\n", szExtractPath); 1455 1476 RTPrintf("Silent installation : %RTbool\n", g_fSilent); … … 1466 1487 if ( !fExtractOnly 1467 1488 && !g_fSilent 1468 && GetNativePackageArch()== VBOXSTUBPKGARCH_X86)1489 && enmPkgArch == VBOXSTUBPKGARCH_X86) 1469 1490 rcExit = ShowError("32-bit Windows hosts are not supported by this VirtualBox release."); 1470 1491 else
Note:
See TracChangeset
for help on using the changeset viewer.