]> git.pld-linux.org Git - packages/detect.git/blame - detect-0.9.72-cpu-detect-ppc.patch
- updated gettext BR
[packages/detect.git] / detect-0.9.72-cpu-detect-ppc.patch
CommitLineData
47ab3315
KK
1--- detect/src/cpu.c.ppc Mon Mar 4 19:39:18 2002
2+++ detect/src/cpu.c Mon Mar 4 19:41:43 2002
3@@ -44,10 +44,8 @@
4 printf(_("\nProbing CPU...\n"));
5
6 while(getline(&line, &len, cpuinfo) >= 0){
7-#if defined(__alpha__)
8+#if defined(__alpha__) || defined(__powerpc__)
9 if(strstr(line, "cpu ")){
10-#elif defined(__PPC__)
11- if(strstr(line, "processor")) {
12 #else /*ix86 or __powerpc__ */
13 if(strstr(line, "vendor_id")){
14 #endif
This page took 0.029516 seconds and 4 git commands to generate.