include/SDL_cpuinfo.h
changeset 1353 7ba544e2888d
parent 1312 c9b51268668f
child 1356 67114343400d
equal deleted inserted replaced
1352:c643342f3f33 1353:7ba544e2888d
    21 */
    21 */
    22 
    22 
    23 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    23 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    24 /* CPU feature detection for SDL                                       */
    24 /* CPU feature detection for SDL                                       */
    25 
    25 
       
    26 #include "SDL_stdinc.h"
       
    27 
    26 #ifndef _SDL_cpuinfo_h
    28 #ifndef _SDL_cpuinfo_h
    27 #define _SDL_cpuinfo_h
    29 #define _SDL_cpuinfo_h
    28 
    30 
       
    31 #ifndef DISABLE_CPUINFO
    29 #include "begin_code.h"
    32 #include "begin_code.h"
    30 /* Set up for C function definitions, even when using C++ */
    33 /* Set up for C function definitions, even when using C++ */
    31 #ifdef __cplusplus
    34 #ifdef __cplusplus
    32 extern "C" {
    35 extern "C" {
    33 #endif
    36 #endif
    67 /* Ends C function definitions when using C++ */
    70 /* Ends C function definitions when using C++ */
    68 #ifdef __cplusplus
    71 #ifdef __cplusplus
    69 }
    72 }
    70 #endif
    73 #endif
    71 #include "close_code.h"
    74 #include "close_code.h"
       
    75 #endif /* !DISABLE_CPUINFO */
    72 
    76 
    73 #endif /* _SDL_cpuinfo_h */
    77 #endif /* _SDL_cpuinfo_h */