mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-11-05 08:10:38 +03:00
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...
This commit is contained in:
@@ -42,9 +42,9 @@
|
||||
#include "sha512.h"
|
||||
#endif
|
||||
|
||||
#if defined(__ARMCC_VERSION) && !defined(inline)
|
||||
#if ( defined(__ARMCC_VERSION) || defined(_MSC_VER) ) && !defined(inline)
|
||||
#define inline __inline
|
||||
#endif /* __ARMCC_VERSION */
|
||||
#endif
|
||||
|
||||
/* Determine minimum supported version */
|
||||
#define MBEDTLS_SSL_MIN_MAJOR_VERSION MBEDTLS_SSL_MAJOR_VERSION_3
|
||||
|
||||
Reference in New Issue
Block a user