QTfrontend/ui/widget/feedbackdialog.cpp
changeset 8595 d2940421d3d4
parent 8434 4821897a0f10
child 8613 82c649dfc7c3
--- a/QTfrontend/ui/widget/feedbackdialog.cpp	Wed Feb 27 16:12:57 2013 +0100
+++ b/QTfrontend/ui/widget/feedbackdialog.cpp	Wed Feb 27 16:44:19 2013 +0100
@@ -273,6 +273,7 @@
     delete process;
 #endif
 
+#ifdef __i386__ || __x86_64__
     // cpu info
     quint32 registers[4];
     quint32 i;
@@ -301,6 +302,9 @@
     processor_name += std::string((const char *)&registers[1], 4);
     processor_name += std::string((const char *)&registers[2], 4);
     processor_name += std::string((const char *)&registers[3], 3);
+#else
+    processor_name += "Unknown";
+#endif
 
     // compiler
 #ifdef __GNUC__