Mercurial > sdl-ios-xcode
changeset 1864:7bea26ad3130
I think this fixes bug #244
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 20 Jun 2006 05:35:44 +0000 |
parents | 0e44c6f90b95 |
children | d688ac43a76b |
files | src/cpuinfo/SDL_cpuinfo.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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"