*/
-#include "main/imports.h"
+#include "main/compiler.h"
#include "main/cpuinfo.h"
#define MAX_STRING 50
char *buffer;
- buffer = (char *) malloc(MAX_STRING);
+ buffer = malloc(MAX_STRING);
if (!buffer)
return NULL;
strcat(buffer, "SPARC");
-#elif defined(USE_PPC_ASM)
-
- if (_mesa_ppc_cpu_features) {
- strcat(buffer, (cpu_has_64) ? "PowerPC 64" : "PowerPC");
- }
-
-# ifdef USE_VMX_ASM
-
- if (cpu_has_vmx) {
- strcat(buffer, "/Altivec");
- }
-
-# endif
-
- if (! cpu_has_fpu) {
- strcat(buffer, "/No FPU");
- }
-
#endif
assert(strlen(buffer) < MAX_STRING);