Mercurial > sdl-ios-xcode
diff include/SDL_cpuinfo.h @ 745:71ee03909f42
Greatly simplified the SDL CPU info code
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 24 Nov 2003 09:16:52 +0000 |
parents | 22dbf364c017 |
children | b8d311d90021 |
line wrap: on
line diff
--- a/include/SDL_cpuinfo.h Mon Nov 24 00:21:24 2003 +0000 +++ b/include/SDL_cpuinfo.h Mon Nov 24 09:16:52 2003 +0000 @@ -37,6 +37,10 @@ extern "C" { #endif +/* This function returns true if the CPU has the RDTSC instruction + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC(); + /* This function returns true if the CPU has MMX features */ extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX();