Commit 569df2c1 authored by Paul Bakker's avatar Paul Bakker
Browse files

- Fixed inline definition for ARM systems

parent 1aa3d763
......@@ -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
......
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