commit | 7a2538ee38f6fde58bc6d3eb45624a5ac8eeaa30 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Fri Nov 02 10:59:36 2012 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Fri Nov 02 10:59:36 2012 +0000 |
tree | 39a9a7f03a954dece549567def42a86623592c8b | |
parent | c9c5df98de447aeebdf3245434b5ae64c2b4e221 [diff] [blame] |
- Fixes for MSVC6
diff --git a/include/polarssl/bignum.h b/include/polarssl/bignum.h index e2d9347..3b8b1f6 100644 --- a/include/polarssl/bignum.h +++ b/include/polarssl/bignum.h
@@ -34,8 +34,13 @@ #ifdef _MSC_VER #include <basetsd.h> +#if (_MSC_VER <= 1200) +typedef signed short int16_t; +typedef unsigned short uint16_t; +#else typedef INT16 int16_t; typedef UINT16 uint16_t; +#endif typedef INT32 int32_t; typedef UINT32 uint32_t; typedef UINT64 uint64_t;