enable asm only on intel/amd machines
authorkoda
Wed, 27 Feb 2013 16:44:19 +0100
changeset 8595 d2940421d3d4
parent 8593 9d1d0fa8db02
child 8596 def92c20cd49
enable asm only on intel/amd machines
QTfrontend/ui/widget/feedbackdialog.cpp
--- 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__