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
39893
39893
)";
39894
39894
}
39895
39895
39896
- inline const std::string& all_ids = get_pci_ids() ;
39896
+ extern const std::string& all_ids;
39897
39897
inline constexpr std::array<std::string_view, 2424> pci_vendors_array = get_pci_vendors_array();
39898
39898
inline constexpr std::array<int, 2424> pci_vendors_location_array = get_pci_vendors_location_array();
39899
39899
39900
39900
#else
39901
39901
39902
- inline const std::string& all_ids = {} ;
39902
+ extern const std::string& all_ids;
39903
39903
inline constexpr std::array<std::string_view, 2424> pci_vendors_array = {};
39904
39904
inline constexpr std::array<int, 2424> pci_vendors_location_array = {};
39905
39905
Original file line number Diff line number Diff line change 48
48
#include " platform.hpp"
49
49
#include " tiny-process-library/process.hpp"
50
50
51
+ #if !CF_ANDROID
52
+ const std::string& all_ids = get_pci_ids();
53
+ #else
54
+ const std::string& all_ids = " " ;
55
+ #endif
56
+
51
57
bool hasEnding (const std::string_view fullString, const std::string_view ending)
52
58
{
53
59
if (ending.length () > fullString.length ())
You can’t perform that action at this time.
0 commit comments