- Fixed uint32_t definition on Windows systems

This commit is contained in:
Paul Bakker 2009-05-24 14:42:46 +00:00
parent a86cd2dfcd
commit 80ab9f5eb5
2 changed files with 13 additions and 3 deletions

View file

@ -20,7 +20,12 @@
#ifndef POLARSSL_CAMELLIA_H
#define POLARSSL_CAMELLIA_H
#ifdef _MSC_VER
#include <basetsd.h>
typedef UINT32 uint32_t;
#else
#include <inttypes.h>
#endif
#define CAMELLIA_ENCRYPT 1
#define CAMELLIA_DECRYPT 0

View file

@ -20,7 +20,12 @@
#ifndef POLARSSL_XTEA_H
#define POLARSSL_XTEA_H
#ifdef _MSC_VER
#include <basetsd.h>
typedef UINT32 uint32_t;
#else
#include <inttypes.h>
#endif
#define XTEA_ENCRYPT 1
#define XTEA_DECRYPT 0