Skip to content

Commit

Permalink
I think this fixes bug #244
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 20, 2006
1 parent 3ebdd1a commit 00cd00a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpuinfo/SDL_cpuinfo.c
Expand Up @@ -109,7 +109,7 @@ CPUid by definition. But it's nice to be able to prove it. :) */
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"
Expand Down Expand Up @@ -175,7 +175,7 @@ static __inline__ int CPU_getCPUIDFeatures(void)
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"
Expand Down

0 comments on commit 00cd00a

Please sign in to comment.