mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-25 04:55:36 +00:00
Add MBEDTLS_ALWAYS_INLINE macro to platform_util.h
This commit is contained in:
parent
d806d9da89
commit
c94fc6c0c2
|
@ -113,6 +113,12 @@ void mbedtls_param_failed( const char *failure_condition,
|
||||||
|
|
||||||
#endif /* MBEDTLS_CHECK_PARAMS */
|
#endif /* MBEDTLS_CHECK_PARAMS */
|
||||||
|
|
||||||
|
#if defined(__GNUC__) || defined(__arm__)
|
||||||
|
#define MBEDTLS_ALWAYS_INLINE __attribute__((always_inline))
|
||||||
|
#else
|
||||||
|
#define MBEDTLS_ALWAYS_INLINE
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Internal helper macros for deprecating API constants. */
|
/* Internal helper macros for deprecating API constants. */
|
||||||
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
|
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
|
||||||
#if defined(MBEDTLS_DEPRECATED_WARNING)
|
#if defined(MBEDTLS_DEPRECATED_WARNING)
|
||||||
|
|
Loading…
Reference in a new issue