commit | 498fd354c61e85f795ddcde34607c9a64621657d | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Mon Dec 02 22:17:24 2013 +0100 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Mon Dec 02 22:17:24 2013 +0100 |
tree | 428ccfada6e149809760a3e960ecffe7578dc115 | |
parent | b14817d10a484a134a1e3430c250623bb6206ac3 [diff] |
Added missing inline definition for other platforms to ecp_curves.c
diff --git a/library/ecp_curves.c b/library/ecp_curves.c index ec11789..d3b1b4d 100644 --- a/library/ecp_curves.c +++ b/library/ecp_curves.c
@@ -29,6 +29,14 @@ #include "polarssl/ecp.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 */ + /* * Domain parameters for secp192r1 */