- Fixed inline definition for ARM systems

This commit is contained in:
Paul Bakker 2011-06-21 07:48:07 +00:00
parent 1aa3d76309
commit 569df2c135
3 changed files with 18 additions and 6 deletions

View File

@ -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. */

View File

@ -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. */

View File

@ -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