mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-07-15 08:48:33 +00:00
the isatty definition on nuttx depends on CONFIG_SERIAL_TERMIOS
the isatty definition on nuttx depends on CONFIG_SERIAL_TERMIOS
This commit is contained in:
parent
4b38205023
commit
370b79e104
|
@ -68,6 +68,13 @@ typedef pthread_t korp_thread;
|
||||||
#define O_NOFOLLOW 0
|
#define O_NOFOLLOW 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#undef CONFIG_HAS_ISATTY
|
||||||
|
#ifdef CONFIG_SERIAL_TERMIOS
|
||||||
|
#define CONFIG_HAS_ISATTY 1
|
||||||
|
#else
|
||||||
|
#define CONFIG_HAS_ISATTY 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NuttX doesn't have openat family.
|
* NuttX doesn't have openat family.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user