- Adapted define for inline to be more solid

This commit is contained in:
Paul Bakker 2011-07-27 16:28:54 +00:00
parent 73043766c7
commit 09b1ec68c8
3 changed files with 6 additions and 6 deletions

View File

@ -32,10 +32,10 @@
#include <string.h>
#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(inline)
#define inline _inline
#else
#if defined(__ARMCC_VERSION)
#if defined(__ARMCC_VERSION) && !defined(inline)
#define inline __inline
#endif /* __ARMCC_VERSION */
#endif /*_MSC_VER */

View File

@ -32,10 +32,10 @@
#include <string.h>
#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(inline)
#define inline _inline
#else
#if defined(__ARMCC_VERSION)
#if defined(__ARMCC_VERSION) && !defined(inline)
#define inline __inline
#endif /* __ARMCC_VERSION */
#endif /*_MSC_VER */

View File

@ -41,10 +41,10 @@
#include "polarssl/pkcs11.h"
#endif
#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(inline)
#define inline _inline
#else
#if defined(__ARMCC_VERSION)
#if defined(__ARMCC_VERSION) && !defined(inline)
#define inline __inline
#endif /* __ARMCC_VERSION */
#endif /*_MSC_VER */