File: mydir.h

package info (click to toggle)
inn2 2.2.2.2000.01.31-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,424 kB
  • ctags: 5,722
  • sloc: ansic: 61,219; perl: 9,939; sh: 5,644; makefile: 1,695; awk: 1,567; yacc: 1,548; lex: 249; tcl: 3
file content (12 lines) | stat: -rw-r--r-- 217 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
/*  $Revision: 1.2 $
**
**  Encapsulate dirent/direct differences.
*/

#if defined(HAVE_DIRENT_H)
#include <dirent.h>
typedef struct dirent	DIRENTRY;
#else 
#include <sys/dir.h>
typedef struct direct	DIRENTRY;
#endif