Skip to content

Commit 0772ba5

Browse files
committed
Use '__noinline' instead of 'noinline' for N_NOINLINE gcc attribute, this prevents clashes with systems where 'noinline' might be already defined
1 parent 3f78873 commit 0772ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/nimbase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ __AVR__
221221
#define N_NOCONV_PTR(rettype, name) rettype (*name)
222222

223223
#if defined(__GNUC__) || defined(__ICC__)
224-
# define N_NOINLINE(rettype, name) rettype __attribute__((noinline)) name
224+
# define N_NOINLINE(rettype, name) rettype __attribute__((__noinline__)) name
225225
#elif defined(_MSC_VER)
226226
# define N_NOINLINE(rettype, name) __declspec(noinline) rettype name
227227
#else

0 commit comments

Comments
 (0)