src/cpuinfo/SDL_cpuinfo.c
changeset 747 da36f59485da
parent 745 71ee03909f42
child 749 06cdd106d61c
     1.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Mon Nov 24 09:22:12 2003 +0000
     1.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Mon Nov 24 09:30:14 2003 +0000
     1.3 @@ -136,6 +136,9 @@
     1.4  static __inline__ int CPU_have3DNow()
     1.5  {
     1.6  	int has_3DNow = 0;
     1.7 +	if ( !CPU_haveCPUID() ) {
     1.8 +		return 0;
     1.9 +	}
    1.10  #if defined(__GNUC__) && defined(i386)
    1.11  	__asm__ (
    1.12  "push %%ebx\n"