diff options
author | Zeev Suraski <zeev@php.net> | 2000-06-04 22:00:17 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-06-04 22:00:17 +0000 |
commit | 4a1da8b6f9570bca2e97b60755ebe6a6fd8645c7 (patch) | |
tree | bd50df6bf80458f478bccb34b020dd37603844b1 /win32/readdir.h | |
parent | bfac4633a512f9a91fb3ba3700f2124e5139a4ba (diff) | |
download | php-git-4a1da8b6f9570bca2e97b60755ebe6a6fd8645c7.tar.gz |
Fix Win32 build
Diffstat (limited to 'win32/readdir.h')
-rw-r--r-- | win32/readdir.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/win32/readdir.h b/win32/readdir.h index c2c969842a..f6c576252c 100644 --- a/win32/readdir.h +++ b/win32/readdir.h @@ -1,3 +1,7 @@ +#ifndef _READDIR_H +#define _READDIR_H + + /* * Structures and types used to implement opendir/readdir/closedir * on Windows 95/NT. @@ -10,7 +14,6 @@ /* struct dirent - same as Unix */ -#if NEEDRDH struct dirent { long d_ino; /* inode (always 1 in WIN32) */ @@ -19,6 +22,7 @@ struct dirent { char d_name[_MAX_FNAME + 1]; /* filename (null terminated) */ }; + /* typedef DIR - not the same as Unix */ typedef struct { long handle; /* _findfirst/_findnext handle */ @@ -36,4 +40,5 @@ int readdir_r(DIR *, struct dirent *, struct dirent **); int closedir(DIR *); void rewinddir(DIR *); -#endif + +#endif /* _READDIR_H */
\ No newline at end of file |