2 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
3 2006 Free Software Foundation, Inc.
4 This file is part of GNU Make.
6 GNU Make is free software; you can redistribute it and/or modify it under the
7 terms of the GNU General Public License as published by the Free Software
8 Foundation; either version 2, or (at your option) any later version.
10 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License along with
15 GNU Make; see the file COPYING. If not, write to the Free Software
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
26 #if !defined (__GNUC__) && !defined (__ALPHA)
27 typedef unsigned long u_long
;
28 typedef unsigned short u_short
;
38 char d_name
[MAXNAMLEN
+ 1];
43 (((sizeof (struct direct) \
45 + ((dp)->d_namlen+1)) \
48 #define d_ino d_fileno /* compatability */
52 * Definitions for library routines operating on directories.
58 char d_result
[MAXNAMLEN
+ 1];
59 #if defined (__ALPHA) || defined (__DECC)
70 extern DIR *opendir
PARAMS (());
71 extern struct direct
*readdir
PARAMS ((DIR *dfd
));
72 #define rewinddir(dirp) seekdir((dirp), (long)0)
73 extern int closedir
PARAMS ((DIR *dfd
));
74 extern char *vmsify
PARAMS ((char *name
, int type
));