Codegen fix for function pointers marked inline (#8866)
Fixes #5345 Fixes #5701
This commit is contained in:
parent
cec89d8354
commit
4aba2981dd
3 changed files with 29 additions and 0 deletions
|
|
@ -107,6 +107,8 @@ __clang__
|
|||
# define N_INLINE(rettype, name) rettype __inline name
|
||||
#endif
|
||||
|
||||
#define N_INLINE_PTR(rettype, name) rettype (*name)
|
||||
|
||||
#if defined(__POCC__)
|
||||
# define NIM_CONST /* PCC is really picky with const modifiers */
|
||||
# undef _MSC_VER /* Yeah, right PCC defines _MSC_VER even if it is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue