mirror of
				https://github.com/troglobit/editline.git
				synced 2025-10-31 16:28:15 +08:00 
			
		
		
		
	Remove obsolete checks, all current systems today have dirent.h
This commit is contained in:
		| @@ -29,16 +29,7 @@ | ||||
| #include <sys/stat.h> | ||||
| #include <unistd.h> | ||||
|  | ||||
| #ifdef USE_DIRENT | ||||
| #include <dirent.h> | ||||
| typedef struct dirent	DIRENTRY; | ||||
| #else | ||||
| #include <sys/dir.h> | ||||
| typedef struct direct	DIRENTRY; | ||||
| #endif | ||||
|  | ||||
| #ifndef S_ISDIR | ||||
| #define S_ISDIR(m)		(((m) & S_IFMT) == S_IFDIR) | ||||
| #endif | ||||
|  | ||||
| #endif  /* __EDITLINE_UNIX_H__ */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Joachim Nilsson
					Joachim Nilsson