diff include/SDL_cpuinfo.h @ 1353:7ba544e2888d

Started the process of improving configure support, and merging C types and library support into a single header.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 09 Feb 2006 09:07:13 +0000
parents c9b51268668f
children 67114343400d
line wrap: on
line diff
--- 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 */