\r
#endif\r
\r
-\r
-#if !defined(__GNUC__) && (__STDC_VERSION__ < 199901L)\r
+#if defined(_MSC_EXTENSIONS)\r
//\r
- // No ANSI C 2000 stdint.h integer width declarations, so define equivalents\r
+ // use Microsoft C complier dependent integer width types \r
//\r
- \r
- #if _MSC_EXTENSIONS \r
- \r
- //\r
- // use Microsoft* C complier dependent interger width types \r
- //\r
- typedef unsigned __int64 uint64_t;\r
- typedef __int64 int64_t;\r
- typedef unsigned __int32 uint32_t;\r
- typedef __int32 int32_t;\r
- typedef unsigned short uint16_t;\r
- typedef short int16_t;\r
- typedef unsigned char uint8_t;\r
- typedef char int8_t;\r
- #else\r
-\r
- //\r
- // Assume standard IA-32 alignment. \r
- // BugBug: Need to check portability of long long\r
- //\r
- typedef unsigned long long uint64_t;\r
- typedef long long int64_t;\r
- typedef unsigned int uint32_t;\r
- typedef int int32_t;\r
- typedef unsigned short uint16_t;\r
- typedef short int16_t;\r
- typedef unsigned char uint8_t;\r
- typedef char int8_t;\r
- #endif\r
+ typedef unsigned __int64 uint64_t;\r
+ typedef __int64 int64_t;\r
+ typedef unsigned __int32 uint32_t;\r
+ typedef __int32 int32_t;\r
+ typedef unsigned short uint16_t;\r
+ typedef short int16_t;\r
+ typedef unsigned char uint8_t;\r
+ typedef char int8_t;\r
#else\r
- //\r
- // Use ANSI C 2000 stdint.h integer width declarations\r
- //\r
- #include "stdint.h"\r
+ typedef unsigned long long uint64_t;\r
+ typedef long long int64_t;\r
+ typedef unsigned int uint32_t;\r
+ typedef int int32_t;\r
+ typedef unsigned short uint16_t;\r
+ typedef short int16_t;\r
+ typedef unsigned char uint8_t;\r
+ typedef char int8_t;\r
#endif\r
\r
//\r