Still need to #define inline for MSVC
I only tested with VS2015 earlier, but previous versions apparently still
don't know that standard C99 keyword though it's documented on MSDN...
diff --git a/include/mbedtls/pkcs11.h b/include/mbedtls/pkcs11.h
index 4855331..05def7b 100644
--- a/include/mbedtls/pkcs11.h
+++ b/include/mbedtls/pkcs11.h
@@ -38,9 +38,9 @@
#include <pkcs11-helper-1.0/pkcs11h-certificate.h>
-#if defined(__ARMCC_VERSION) && !defined(inline)
+#if ( defined(__ARMCC_VERSION) || defined(_MSC_VER) ) && !defined(inline)
#define inline __inline
-#endif /* __ARMCC_VERSION */
+#endif
#ifdef __cplusplus
extern "C" {