src/cpuinfo/SDL_cpuinfo.c
changeset 1864 7bea26ad3130
parent 1590 96d8c3fec479
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
--- a/src/cpuinfo/SDL_cpuinfo.c	Tue Jun 20 05:25:04 2006 +0000
+++ b/src/cpuinfo/SDL_cpuinfo.c	Tue Jun 20 05:35:44 2006 +0000
@@ -109,7 +109,7 @@
         mov     has_CPUID,1         ; We have CPUID support
 done:
 	}
-#elif defined(__sun) && defined(__x86)
+#elif defined(__sun) && defined(__i386)
 	__asm (
 "       pushfl                 \n"
 "	popl    %eax           \n"
@@ -175,7 +175,7 @@
         mov     features, edx
 done:
 	}
-#elif defined(__sun) && (defined(__x86) || defined(__amd64))
+#elif defined(__sun) && (defined(__i386) || defined(__amd64))
 	    __asm(
 "        movl    %ebx,%edi\n"
 "        xorl    %eax,%eax         \n"