#ifndef BROTLI_COMMON_TYPES_H_\r
#define BROTLI_COMMON_TYPES_H_\r
\r
-#include <stddef.h> /* for size_t */\r
+//#include <stddef.h> /* for size_t */\r
+#ifndef _SIZE_T_DEFINED\r
+#if !defined(_WIN64) || defined(__GNUC__)\r
+typedef unsigned int size_t;\r
+#endif\r
+#endif\r
+\r
\r
#if defined(_MSC_VER) && (_MSC_VER < 1600)\r
typedef __int8 int8_t;\r
typedef unsigned __int64 uint64_t;\r
typedef __int64 int64_t;\r
#else\r
-#include <stdint.h>\r
+//#include <stdint.h>\r
+typedef INT8 int8_t;\r
+typedef INT16 int16_t;\r
+typedef INT32 int32_t;\r
+typedef INT64 int64_t;\r
+typedef UINT8 uint8_t;\r
+typedef UINT16 uint16_t;\r
+typedef UINT32 uint32_t;\r
+typedef UINT64 uint64_t;\r
#endif /* defined(_MSC_VER) && (_MSC_VER < 1600) */\r
\r
#if (!defined(_MSC_VER) || (_MSC_VER >= 1800)) && \\r