mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Merge pull request #4843 from tmael/sp_diab
Support (no)inline with Wind River Diab compiler
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
#define SP_NOINLINE __declspec(noinline)
|
#define SP_NOINLINE __declspec(noinline)
|
||||||
#elif defined(__ICCARM__) || defined(__IAR_SYSTEMS_ICC__)
|
#elif defined(__ICCARM__) || defined(__IAR_SYSTEMS_ICC__)
|
||||||
#define SP_NOINLINE _Pragma("inline = never")
|
#define SP_NOINLINE _Pragma("inline = never")
|
||||||
#elif defined(__GNUC__) || defined(__KEIL__)
|
#elif defined(__GNUC__) || defined(__KEIL__) || defined(__DCC__)
|
||||||
#define SP_NOINLINE __attribute__((noinline))
|
#define SP_NOINLINE __attribute__((noinline))
|
||||||
#else
|
#else
|
||||||
#define SP_NOINLINE
|
#define SP_NOINLINE
|
||||||
|
@@ -259,6 +259,12 @@ decouple library dependencies with standard string, memory and so on.
|
|||||||
#endif
|
#endif
|
||||||
#elif defined(__CCRX__)
|
#elif defined(__CCRX__)
|
||||||
#define WC_INLINE inline
|
#define WC_INLINE inline
|
||||||
|
#elif defined(__DCC__)
|
||||||
|
#ifndef __cplusplus
|
||||||
|
#define WC_INLINE __inline__
|
||||||
|
#else
|
||||||
|
#define WC_INLINE inline
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define WC_INLINE
|
#define WC_INLINE
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user