zmodem: Remove CONFIG_HAVE_INLINE from compiler.h

follow up the kernel side change

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-06-29 17:10:11 +08:00 committed by Abdelatif Guettouche
parent c723283340
commit 7789bbb470

View File

@ -215,10 +215,6 @@
# undef CONFIG_PTR_IS_NOT_INT # undef CONFIG_PTR_IS_NOT_INT
#endif #endif
/* GCC supports inlined functions */
# define CONFIG_HAVE_INLINE 1
/* GCC supports both types double and long long */ /* GCC supports both types double and long long */
# define CONFIG_HAVE_LONG_LONG 1 # define CONFIG_HAVE_LONG_LONG 1
@ -323,11 +319,6 @@
# define CONFIG_PTR_IS_NOT_INT 1 # define CONFIG_PTR_IS_NOT_INT 1
#endif #endif
/* SDCC does not support inline functions */
# undef CONFIG_HAVE_INLINE
# define inline
/* SDCC does not support type long long or type double */ /* SDCC does not support type long long or type double */
# undef CONFIG_HAVE_LONG_LONG # undef CONFIG_HAVE_LONG_LONG
@ -432,11 +423,6 @@
# endif # endif
# endif # endif
/* The Zilog compiler does not support inline functions */
# undef CONFIG_HAVE_INLINE
# define inline
/* Older Zilog compilers support both types double and long long, but the /* Older Zilog compilers support both types double and long long, but the
* size is 32-bits (same as long and single precision) so it is safer to * size is 32-bits (same as long and single precision) so it is safer to
* say that they are not supported. Later versions are more ANSII compliant * say that they are not supported. Later versions are more ANSII compliant
@ -519,8 +505,6 @@
# undef CONFIG_SMALL_MEMORY # undef CONFIG_SMALL_MEMORY
# undef CONFIG_LONG_IS_NOT_INT # undef CONFIG_LONG_IS_NOT_INT
# undef CONFIG_PTR_IS_NOT_INT # undef CONFIG_PTR_IS_NOT_INT
# undef CONFIG_HAVE_INLINE
# define inline 1
# undef CONFIG_HAVE_LONG_LONG # undef CONFIG_HAVE_LONG_LONG
# define CONFIG_HAVE_FLOAT 1 # define CONFIG_HAVE_FLOAT 1
# undef CONFIG_HAVE_DOUBLE # undef CONFIG_HAVE_DOUBLE