From 0cc9e15ccc891acbef4bd714c5aea6df1d8ffb20 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 16 Mar 2007 22:06:21 +0000 Subject: [PATCH] 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 --- include/nuttx/compiler.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/nuttx/compiler.h b/include/nuttx/compiler.h index 3047590656..b0ea16f38e 100644 --- a/include/nuttx/compiler.h +++ b/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