1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

- Improved portability with Microsoft Visual C

This commit is contained in:
Paul Bakker
2011-04-18 03:47:52 +00:00
parent a493ad4539
commit af5c85fc10
32 changed files with 2325 additions and 3 deletions

View File

@ -32,6 +32,10 @@
#include <string.h>
#ifdef _MSC_VER
#define inline _inline
#endif
typedef enum {
POLARSSL_CIPHER_ID_NONE = 0,
POLARSSL_CIPHER_ID_AES,

View File

@ -30,6 +30,10 @@
#ifndef POLARSSL_MD_H
#define POLARSSL_MD_H
#ifdef _MSC_VER
#define inline _inline
#endif
typedef enum {
POLARSSL_MD_NONE=0,
POLARSSL_MD_MD2,

View File

@ -41,6 +41,10 @@
#include "polarssl/pkcs11.h"
#endif
#ifdef _MSC_VER
#define inline _inline
#endif
/*
* SSL Error codes
*/