changeset 113:c8bc83fbcd6b trunk

[svn] Fix linux good!
author nenolod
date Thu, 03 Nov 2005 17:24:38 -0800
parents bf1957fb8588
children 0edf51fbd293
files Plugins/Input/console/boost/cstdint.hpp
diffstat 1 files changed, 4 insertions(+), 30 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/console/boost/cstdint.hpp	Thu Nov 03 16:08:51 2005 -0800
+++ b/Plugins/Input/console/boost/cstdint.hpp	Thu Nov 03 17:24:38 2005 -0800
@@ -4,43 +4,17 @@
 #ifndef BOOST_CSTDINT_HPP
 #define BOOST_CSTDINT_HPP
 
-#ifndef int32_t
-
 #if BLARGG_USE_NAMESPACE
-	#include <climits>
+#	include <climits>
 #else
-	#include <limits.h>
-#endif
-
-BLARGG_BEGIN_NAMESPACE( boost )
-
-#if UCHAR_MAX != 0xFF || SCHAR_MAX != 0x7F
-#   error "No suitable 8-bit type available"
+#	include <limits.h>
 #endif
 
-typedef unsigned char   uint8_t;
-typedef signed char     int8_t;
-
-#if USHRT_MAX != 0xFFFF
-#   error "No suitable 16-bit type available"
-#endif
-
-typedef short           int16_t;
-typedef unsigned short  uint16_t;
+BLARGG_BEGIN_NAMESPACE (boost)
 
-#if ULONG_MAX == 0xFFFFFFFF
-	typedef long            int32_t;
-	typedef unsigned long   uint32_t;
-#elif UINT_MAX == 0xFFFFFFFF
-	typedef int             int32_t;
-	typedef unsigned int    uint32_t;
-#else
-#   error "No suitable 32-bit type available"
-#endif
+#include "sys/types.h"
 
 BLARGG_END_NAMESPACE
 
 #endif
 
-#endif
-