From 6a6087e71d79b68e8c8393f3c74a67f8448053ff Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Mon, 28 Oct 2013 18:53:08 +0100 Subject: [PATCH] Added missing inline definition for MSCV and ARM environments --- library/ecp.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/library/ecp.c b/library/ecp.c index bedb67506a..3a075c4036 100644 --- a/library/ecp.c +++ b/library/ecp.c @@ -59,6 +59,14 @@ #include #include +#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.