Commit 80ab9f5e authored by Paul Bakker's avatar Paul Bakker
Browse files

- Fixed uint32_t definition on Windows systems

parent a86cd2df
......@@ -19,8 +19,13 @@
*/
#ifndef POLARSSL_CAMELLIA_H
#define POLARSSL_CAMELLIA_H
#include <inttypes.h>
#ifdef _MSC_VER
#include <basetsd.h>
typedef UINT32 uint32_t;
#else
#include <inttypes.h>
#endif
#define CAMELLIA_ENCRYPT 1
#define CAMELLIA_DECRYPT 0
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment