Added missing inline definition for MSCV and ARM environments

This commit is contained in:
Paul Bakker 2013-10-28 18:53:08 +01:00
parent 3292562a33
commit 6a6087e71d

View File

@ -59,6 +59,14 @@
#include <limits.h>
#include <stdlib.h>
#if defined(_MSC_VER) && !defined(inline)
#define inline _inline
#else
#if defined(__ARMCC_VERSION) && !defined(inline)
#define inline __inline
#endif /* __ARMCC_VERSION */
#endif /*_MSC_VER */
#if defined(POLARSSL_SELF_TEST)
/*
* Counts of point addition and doubling operations.