From 7d0aff5ba3321d291ae4c7bb8b927bea5eec37f4 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 18 Jul 2010 03:37:23 +0200 Subject: [PATCH] Remove obsolete checks, all current systems today have dirent.h --- src/unix.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/unix.h b/src/unix.h index 8c2cc52..ae4652b 100644 --- a/src/unix.h +++ b/src/unix.h @@ -29,16 +29,7 @@ #include #include -#ifdef USE_DIRENT #include typedef struct dirent DIRENTRY; -#else -#include -typedef struct direct DIRENTRY; -#endif - -#ifndef S_ISDIR -#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) -#endif #endif /* __EDITLINE_UNIX_H__ */