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:
patacongo 2007-03-16 22:06:21 +00:00
parent c0c7b17bf1
commit 0cc9e15ccc
1 changed files with 2 additions and 0 deletions

View File

@ -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