mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 05:46:41 +01:00
- Fixed uint32_t definition on Windows systems
This commit is contained in:
parent
a86cd2dfcd
commit
80ab9f5eb5
2 changed files with 13 additions and 3 deletions
|
|
@ -19,8 +19,13 @@
|
||||||
*/
|
*/
|
||||||
#ifndef POLARSSL_CAMELLIA_H
|
#ifndef POLARSSL_CAMELLIA_H
|
||||||
#define 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_ENCRYPT 1
|
||||||
#define CAMELLIA_DECRYPT 0
|
#define CAMELLIA_DECRYPT 0
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,12 @@
|
||||||
#ifndef POLARSSL_XTEA_H
|
#ifndef POLARSSL_XTEA_H
|
||||||
#define 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_ENCRYPT 1
|
||||||
#define XTEA_DECRYPT 0
|
#define XTEA_DECRYPT 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue