File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -39893,13 +39893,13 @@ C ff Unassigned class
3989339893)";
3989439894}
3989539895
39896- inline const std::string& all_ids = get_pci_ids() ;
39896+ extern const std::string& all_ids;
3989739897inline constexpr std::array<std::string_view, 2424> pci_vendors_array = get_pci_vendors_array();
3989839898inline constexpr std::array<int, 2424> pci_vendors_location_array = get_pci_vendors_location_array();
3989939899
3990039900#else
3990139901
39902- inline const std::string& all_ids = {} ;
39902+ extern const std::string& all_ids;
3990339903inline constexpr std::array<std::string_view, 2424> pci_vendors_array = {};
3990439904inline constexpr std::array<int, 2424> pci_vendors_location_array = {};
3990539905
Original file line number Diff line number Diff line change 4848#include " platform.hpp"
4949#include " tiny-process-library/process.hpp"
5050
51+ #if !CF_ANDROID
52+ const std::string& all_ids = get_pci_ids();
53+ #else
54+ const std::string& all_ids = " " ;
55+ #endif
56+
5157bool hasEnding (const std::string_view fullString, const std::string_view ending)
5258{
5359 if (ending.length () > fullString.length ())
You can’t perform that action at this time.
0 commit comments