forked from wolfSSL/wolfssl
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)
|
||||
#elif defined(__ICCARM__) || defined(__IAR_SYSTEMS_ICC__)
|
||||
#define SP_NOINLINE _Pragma("inline = never")
|
||||
#elif defined(__GNUC__) || defined(__KEIL__)
|
||||
#elif defined(__GNUC__) || defined(__KEIL__) || defined(__DCC__)
|
||||
#define SP_NOINLINE __attribute__((noinline))
|
||||
#else
|
||||
#define SP_NOINLINE
|
||||
|
@ -259,6 +259,12 @@ decouple library dependencies with standard string, memory and so on.
|
||||
#endif
|
||||
#elif defined(__CCRX__)
|
||||
#define WC_INLINE inline
|
||||
#elif defined(__DCC__)
|
||||
#ifndef __cplusplus
|
||||
#define WC_INLINE __inline__
|
||||
#else
|
||||
#define WC_INLINE inline
|
||||
#endif
|
||||
#else
|
||||
#define WC_INLINE
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user