diff options
Diffstat (limited to 'nuttx/include/stdio.h')
-rw-r--r-- | nuttx/include/stdio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/include/stdio.h b/nuttx/include/stdio.h index b210dc708e..0cc8639b46 100644 --- a/nuttx/include/stdio.h +++ b/nuttx/include/stdio.h @@ -200,6 +200,7 @@ typedef void DIR; /* Used to reference stdin, stdout, and stderr */ +#ifdef CONFIG_HAVE_INLINE static inline FILE *__stdfile(int fd) { if ((unsigned int)fd < CONFIG_NFILE_DESCRIPTORS) @@ -212,6 +213,9 @@ static inline FILE *__stdfile(int fd) } return NULL; } +#else +extern FILE *__stdfile(int fd); +#endif /************************************************************ * Public Function Prototypes |