Fix macroization of inline in C++
When compiling as C++, MSVC complains about our macroization of a keyword. Stop doing that as we know inline is always available in C++
This commit is contained in:
parent
54eec9d1dd
commit
0223ab9d38
8 changed files with 17 additions and 7 deletions
|
@ -31,7 +31,8 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#if ( defined(__ARMCC_VERSION) || defined(_MSC_VER) ) && !defined(inline)
|
||||
#if ( defined(__ARMCC_VERSION) || defined(_MSC_VER) ) && \
|
||||
!defined(inline) && !defined(__cplusplus)
|
||||
#define inline __inline
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue