Changeset 107100 in vbox for trunk/src/VBox/Frontends/VBoxHeadless
- Timestamp:
- Nov 22, 2024 2:22:42 AM (5 months ago)
- svn:sync-xref-src-repo-rev:
- 166066
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r106061 r107100 43 43 #include <VBox/log.h> 44 44 #include <VBox/version.h> 45 #include <iprt/arch.h> 45 46 #include <iprt/buildconfig.h> 46 47 #include <iprt/ctype.h> … … 55 56 #include <iprt/errcore.h> 56 57 #include <iprt/thread.h> 58 #include <iprt/system.h> 57 59 #include <VBoxVideo.h> 58 60 … … 1152 1154 } 1153 1155 1156 /* Before we try to initialize COM, make sure we're not running inside 1157 an emulator (these days, running amd64 code in an emulator on arm64). */ 1158 uint32_t const uNativeArch = RTSystemGetNativeArch(); 1159 if (uNativeArch != RT_ARCH_VAL && uNativeArch != 0) 1160 { 1161 RTMsgError("Binary (%s) doesn't match the host CPU (%s)!", 1162 RTArchValToString(RT_ARCH_VAL), RTArchValToString(uNativeArch)); 1163 return RTEXITCODE_FAILURE; 1164 } 1165 1154 1166 HRESULT hrc; 1155 1167 int vrc;
Note:
See TracChangeset
for help on using the changeset viewer.