From 3766eb7e635240c80e7d44acff3a76909f482f44 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 17 Dec 2014 14:49:23 -0500 Subject: [PATCH] Revert "client: fix build breaks." This reverts commit 3d01d36a6e1c87cf28d5a2db961e6e96ff6bab17. --- client/hostinfo_unix.cpp | 5 ++++- client/hostinfo_win.cpp | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/client/hostinfo_unix.cpp b/client/hostinfo_unix.cpp index e556cfafa8..bbac65cc84 100644 --- a/client/hostinfo_unix.cpp +++ b/client/hostinfo_unix.cpp @@ -1576,7 +1576,10 @@ int HOST_INFO::get_host_info(bool init) { // a run of the client // - get_virtualbox_version(); + if (!cc_config.dont_use_vbox) { + get_virtualbox_version(); + } + get_cpu_info(); get_cpu_count(); get_memory_info(); diff --git a/client/hostinfo_win.cpp b/client/hostinfo_win.cpp index c04bffe8b8..6cdbd2b02a 100644 --- a/client/hostinfo_win.cpp +++ b/client/hostinfo_win.cpp @@ -1214,7 +1214,9 @@ int HOST_INFO::get_host_info(bool init) { get_os_information( os_name, sizeof(os_name), os_version, sizeof(os_version) ); - get_virtualbox_version(); + if (!cc_config.dont_use_vbox) { + get_virtualbox_version(); + } get_processor_info( p_vendor, sizeof(p_vendor), p_model, sizeof(p_model),