home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mgr / vdimgr.zoo / ash / readline / unix.h < prev   
Encoding:
C/C++ Source or Header  |  1993-03-16  |  432 b   |  23 lines

  1. /*  $Revision: 1.1 $
  2. **
  3. **  Editline system header file for Unix.
  4. */
  5.  
  6. #define CRLF        "\r\n"
  7. #define FORWARD        STATIC
  8.  
  9. #include <sys/types.h>
  10. #include <sys/stat.h>
  11.  
  12. #if    defined(USE_DIRENT)
  13. #include <dirent.h>
  14. typedef struct dirent    DIRENTRY;
  15. #else
  16. #include <sys/dir.h>
  17. typedef struct direct    DIRENTRY;
  18. #endif    /* defined(USE_DIRENT) */
  19.  
  20. #if    !defined(S_ISDIR)
  21. #define S_ISDIR(m)        (((m) & S_IFMT) == S_IFDIR)
  22. #endif    /* !defined(S_ISDIR) */
  23.