From 498fd354c61e85f795ddcde34607c9a64621657d Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Mon, 2 Dec 2013 22:17:24 +0100
Subject: [PATCH] Added missing inline definition for other platforms to
ecp_curves.c
---
library/ecp_curves.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/library/ecp_curves.c b/library/ecp_curves.c
index ec11789d0..d3b1b4de8 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
*/