Mercurial > sdl-ios-xcode
view src/main/macos/exports/Makefile @ 787:07760c8854d1
Date: Sat, 24 Jan 2004 14:49:58 +0100
From: Stephane Marchesin
Subject: Re: [SDL] 3DNow! detection on a P4 system
Well... I found another bug : 3dnow was detected on P2/P3 cpus. So I
took one more look at the code and found a mistake in
CPU_getCPUIDFeaturesExt :
The condition for having extended cpuinfo is that when we query extended
cpuinfo we get a result >= 0x80000001. So we must exit if eax < 0x80000001.
The attached patch does that.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 24 Jan 2004 15:55:00 +0000 |
parents | 51b5e0be61c3 |
children | 6c7b69218276 |
line wrap: on
line source
EXPORTS = SDL.x HEADERS = \ ../../../../include/SDL.h \ ../../../../include/SDL_active.h \ ../../../../include/SDL_audio.h \ ../../../../include/SDL_byteorder.h \ ../../../../include/SDL_cdrom.h \ ../../../../include/SDL_copying.h \ ../../../../include/SDL_cpuinfo.h \ ../../../../include/SDL_endian.h \ ../../../../include/SDL_error.h \ ../../../../include/SDL_events.h \ ../../../../include/SDL_getenv.h \ ../../../../include/SDL_joystick.h \ ../../../../include/SDL_keyboard.h \ ../../../../include/SDL_keysym.h \ ../../../../include/SDL_loadso.h \ ../../../../include/SDL_mouse.h \ ../../../../include/SDL_mutex.h \ ../../../../include/SDL_quit.h \ ../../../../include/SDL_rwops.h \ ../../../../include/SDL_syswm.h \ ../../../../include/SDL_thread.h \ ../../../../include/SDL_timer.h \ ../../../../include/SDL_types.h \ ../../../../include/SDL_version.h \ ../../../../include/SDL_video.h all: $(EXPORTS) $(EXPORTS): $(HEADERS) perl gendef.pl $(HEADERS) >$@ || rm $@ clean: rm -f $(EXPORTS)