include/nuttx/compiler.h: Assume inline support if __STDC_VERSION__ not defined.
This commit is contained in:
parent
e26fa54252
commit
11e7c53f61
@ -260,7 +260,7 @@
|
||||
|
||||
/* GCC supports inlined functions for version C99 and above */
|
||||
|
||||
# if defined(__cplusplus) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
|
||||
# if defined(__cplusplus) || !defined(__STDC_VERSION__) || __STDC_VERSION__ >= 199901L
|
||||
# define CONFIG_HAVE_INLINE 1
|
||||
# else
|
||||
# undef CONFIG_HAVE_INLINE
|
||||
|
Loading…
Reference in New Issue
Block a user