mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 01:55:52 +01:00
- Fixed inline definition for ARM systems
This commit is contained in:
parent
1aa3d76309
commit
569df2c135
@ -32,9 +32,13 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER)
|
||||
#define inline _inline
|
||||
#endif
|
||||
#else
|
||||
#if defined(ARMCC_VERSION)
|
||||
#define inline __inline
|
||||
#endif /* ARMCC_VERSION */
|
||||
#endif /*_MSC_VER */
|
||||
|
||||
#define POLARSSL_ERR_CIPHER_FEATURE_UNAVAILABLE -0x6080 /**< The selected feature is not available. */
|
||||
#define POLARSSL_ERR_CIPHER_BAD_INPUT_DATA -0x6100 /**< Bad input parameters to function. */
|
||||
|
@ -32,9 +32,13 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER)
|
||||
#define inline _inline
|
||||
#endif
|
||||
#else
|
||||
#if defined(ARMCC_VERSION)
|
||||
#define inline __inline
|
||||
#endif /* ARMCC_VERSION */
|
||||
#endif /*_MSC_VER */
|
||||
|
||||
#define POLARSSL_ERR_MD_FEATURE_UNAVAILABLE -0x5080 /**< The selected feature is not available. */
|
||||
#define POLARSSL_ERR_MD_BAD_INPUT_DATA -0x5100 /**< Bad input parameters to function. */
|
||||
|
@ -41,9 +41,13 @@
|
||||
#include "polarssl/pkcs11.h"
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER)
|
||||
#define inline _inline
|
||||
#endif
|
||||
#else
|
||||
#if defined(ARMCC_VERSION)
|
||||
#define inline __inline
|
||||
#endif /* ARMCC_VERSION */
|
||||
#endif /*_MSC_VER */
|
||||
|
||||
/*
|
||||
* SSL Error codes
|
||||
|
Loading…
Reference in New Issue
Block a user