Use '__noinline' instead of 'noinline' for N_NOINLINE gcc attribute, this prevents clashes with systems where 'noinline' might be already defined (#13089)
This commit is contained in:
parent
3f78873898
commit
bb7273bc47
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ __AVR__
|
||||||
#define N_NOCONV_PTR(rettype, name) rettype (*name)
|
#define N_NOCONV_PTR(rettype, name) rettype (*name)
|
||||||
|
|
||||||
#if defined(__GNUC__) || defined(__ICC__)
|
#if defined(__GNUC__) || defined(__ICC__)
|
||||||
# define N_NOINLINE(rettype, name) rettype __attribute__((noinline)) name
|
# define N_NOINLINE(rettype, name) rettype __attribute__((__noinline__)) name
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER)
|
||||||
# define N_NOINLINE(rettype, name) __declspec(noinline) rettype name
|
# define N_NOINLINE(rettype, name) __declspec(noinline) rettype name
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue