diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-16 22:06:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-16 22:06:21 +0000 |
commit | 106d2d8c86bd35ccba6a9f87124742df0d1759d5 (patch) | |
tree | e33e10f452cfa371df9c99342eafb82d43a85b70 | |
parent | 623d9266d3f93e84bb3e1dee69733673e2cfd00b (diff) | |
download | nuttx-106d2d8c86bd35ccba6a9f87124742df0d1759d5.tar.gz nuttx-106d2d8c86bd35ccba6a9f87124742df0d1759d5.tar.bz2 nuttx-106d2d8c86bd35ccba6a9f87124742df0d1759d5.zip |
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
-rw-r--r-- | nuttx/include/nuttx/compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/compiler.h b/nuttx/include/nuttx/compiler.h index 304759065..b0ea16f38 100644 --- a/nuttx/include/nuttx/compiler.h +++ b/nuttx/include/nuttx/compiler.h @@ -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 |