mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-31 13:17:31 +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. | ||||
|  * (platform_internal.h) | ||||
|  */ | ||||
| #if !defined(CONFIG_HAS_D_INO) | ||||
| #if !defined(__NuttX__) | ||||
| #define CONFIG_HAS_D_INO 1 | ||||
| #define CONFIG_HAS_ISATTY 1 | ||||
| #else | ||||
| #define CONFIG_HAS_D_INO 0 | ||||
| #endif | ||||
| #endif | ||||
| 
 | ||||
| #if !defined(__APPLE__) && !defined(ESP_PLATFORM) && !defined(__COSMOPOLITAN__) | ||||
| #define CONFIG_HAS_POSIX_FALLOCATE 1 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Maks Litskevich
						Maks Litskevich