From a132fcba02b4d18c59487c0916cc12b195f01aa6 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 23 May 2013 23:29:44 -0700 Subject: [PATCH] client: parse product_name from state file only on Android --- lib/hostinfo.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/hostinfo.cpp b/lib/hostinfo.cpp index 79245ac80c..45cbc8ded6 100644 --- a/lib/hostinfo.cpp +++ b/lib/hostinfo.cpp @@ -93,7 +93,9 @@ int HOST_INFO::parse(XML_PARSER& xp, bool benchmarks_only) { } if (xp.parse_double("p_calculated", p_calculated)) continue; if (xp.parse_bool("p_vm_extensions_disabled", p_vm_extensions_disabled)) continue; +#ifdef ANDROID if (xp.parse_str("product_name", product_name, sizeof(product_name))) continue; +#endif if (benchmarks_only) continue;