include/SDL_cpuinfo.h
changeset 1353 7ba544e2888d
parent 1312 c9b51268668f
child 1356 67114343400d
--- a/include/SDL_cpuinfo.h	Thu Feb 09 05:46:55 2006 +0000
+++ b/include/SDL_cpuinfo.h	Thu Feb 09 09:07:13 2006 +0000
@@ -23,9 +23,12 @@
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 /* CPU feature detection for SDL                                       */
 
+#include "SDL_stdinc.h"
+
 #ifndef _SDL_cpuinfo_h
 #define _SDL_cpuinfo_h
 
+#ifndef DISABLE_CPUINFO
 #include "begin_code.h"
 /* Set up for C function definitions, even when using C++ */
 #ifdef __cplusplus
@@ -69,5 +72,6 @@
 }
 #endif
 #include "close_code.h"
+#endif /* !DISABLE_CPUINFO */
 
 #endif /* _SDL_cpuinfo_h */