mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 06:55:07 +00:00
Don't redefine D_INO if already defined (#3036)
This commit is contained in:
parent
ffa131b5ac
commit
7b6d0a5d45
|
@ -25,12 +25,14 @@
|
||||||
* For NuttX, CONFIG_HAS_ISATTY is provided by its platform header.
|
* For NuttX, CONFIG_HAS_ISATTY is provided by its platform header.
|
||||||
* (platform_internal.h)
|
* (platform_internal.h)
|
||||||
*/
|
*/
|
||||||
|
#if !defined(CONFIG_HAS_D_INO)
|
||||||
#if !defined(__NuttX__)
|
#if !defined(__NuttX__)
|
||||||
#define CONFIG_HAS_D_INO 1
|
#define CONFIG_HAS_D_INO 1
|
||||||
#define CONFIG_HAS_ISATTY 1
|
#define CONFIG_HAS_ISATTY 1
|
||||||
#else
|
#else
|
||||||
#define CONFIG_HAS_D_INO 0
|
#define CONFIG_HAS_D_INO 0
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(__APPLE__) && !defined(ESP_PLATFORM) && !defined(__COSMOPOLITAN__)
|
#if !defined(__APPLE__) && !defined(ESP_PLATFORM) && !defined(__COSMOPOLITAN__)
|
||||||
#define CONFIG_HAS_POSIX_FALLOCATE 1
|
#define CONFIG_HAS_POSIX_FALLOCATE 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user