New layout.

This commit is contained in:
Joachim Nilsson
2008-06-07 17:04:59 +02:00
parent d661023224
commit 882d443045
8 changed files with 0 additions and 0 deletions

26
src/unix.h Executable file
View File

@@ -0,0 +1,26 @@
/* $Revision: 5 $
**
** Editline system header file for Unix.
*/
#define CRLF "\r\n"
#define FORWARD STATIC
#include <sys/types.h>
#include <sys/stat.h>
#if defined(USE_DIRENT)
#include <dirent.h>
typedef struct dirent DIRENTRY;
#else
#include <sys/dir.h>
typedef struct direct DIRENTRY;
#endif /* defined(USE_DIRENT) */
#if !defined(S_ISDIR)
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif /* !defined(S_ISDIR) */
/*
* $PchId: unix.h,v 1.3 1996/02/22 21:18:51 philip Exp $
*/