Define 'inline' for SDCC so that code can use the inline storage class if not supported
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@74 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
c0c7b17bf1
commit
0cc9e15ccc
|
@ -159,6 +159,7 @@
|
|||
/* SDCC does not support inline functions */
|
||||
|
||||
# undef CONFIG_HAVE_INLINE
|
||||
# define inline
|
||||
|
||||
/* SDCC does not support type long long or type double */
|
||||
|
||||
|
@ -191,6 +192,7 @@
|
|||
# undef CONFIG_LONG_IS_NOT_INT
|
||||
# undef CONFIG_PTR_IS_NOT_INT
|
||||
# undef CONFIG_HAVE_INLINE
|
||||
# define inline
|
||||
# undef CONFIG_HAVE_LONG_LONG
|
||||
# undef CONFIG_HAVE_DOUBLE
|
||||
# undef CONFIG_CAN_PASS_STRUCTS
|
||||
|
|
Loading…
Reference in New Issue