commit | 80ab9f5eb55d8d33baf0e034ab04f5b20701cd07 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Sun May 24 14:42:46 2009 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Sun May 24 14:42:46 2009 +0000 |
tree | 25e5aa1377a6050c614a9258b52b3570ffe025a5 | |
parent | a86cd2dfcd40ca5120b9c0dfa8ef5cbfe9c024b2 [diff] [blame] |
- Fixed uint32_t definition on Windows systems
diff --git a/include/polarssl/xtea.h b/include/polarssl/xtea.h index 45f7547..fe16ba3 100644 --- a/include/polarssl/xtea.h +++ b/include/polarssl/xtea.h
@@ -20,7 +20,12 @@ #ifndef POLARSSL_XTEA_H #define POLARSSL_XTEA_H -#include <inttypes.h> +#ifdef _MSC_VER +#include <basetsd.h> +typedef UINT32 uint32_t; +#else +#include <inttypes.h> +#endif #define XTEA_ENCRYPT 1 #define XTEA_DECRYPT 0