comparison 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
comparison
equal deleted inserted replaced
744:f601f5c05045 745:71ee03909f42
35 /* Set up for C function definitions, even when using C++ */ 35 /* Set up for C function definitions, even when using C++ */
36 #ifdef __cplusplus 36 #ifdef __cplusplus
37 extern "C" { 37 extern "C" {
38 #endif 38 #endif
39 39
40 /* This function returns true if the CPU has the RDTSC instruction
41 */
42 extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC();
43
40 /* This function returns true if the CPU has MMX features 44 /* This function returns true if the CPU has MMX features
41 */ 45 */
42 extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX(); 46 extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX();
43 47
44 /* This function returns true if the CPU has 3DNow features 48 /* This function returns true if the CPU has 3DNow features