home *** CD-ROM | disk | FTP | other *** search
- *** orig/infozip/zip19p1/fileio.c Sun Nov 21 17:17:16 1993
- --- src/infozip/zip19p1/fileio.c Sun Nov 21 18:58:28 1993
- ***************
- *** 217,222 ****
- --- 217,226 ----
- # define FFIRST(n,d) _dos_findfirst(n,FATTR,(struct find_t *)d)
- # define FNEXT(d) _dos_findnext((struct find_t *)d)
- # endif /* ?__TURBOC__ */
- + # if defined(__GO32__)
- + # include <sys/dirent.h>
- + # define direct dirent
- + # else /* !__GO32__ */
- typedef struct direct {
- char d_reserved[30];
- char d_name[13];
- ***************
- *** 225,230 ****
- --- 229,235 ----
- HANDLE d_hFindFile;
- #endif
- } DIR;
- + # endif /* ?__GO32__ */
- # endif /* ?OS2 */
- # else /* !MSDOS */
- # ifdef VMS
- ***************
- *** 341,347 ****
- #endif /* PROTO */
-
-
- ! #if defined(MSDOS) && !defined(OS2)
- dstrm *opendir(n)
- char *n; /* directory to open */
- /* Start searching for files in the MSDOS directory n */
- --- 346,352 ----
- #endif /* PROTO */
-
-
- ! #if defined(MSDOS) && !defined(OS2) && !defined(__GO32__)
- dstrm *opendir(n)
- char *n; /* directory to open */
- /* Start searching for files in the MSDOS directory n */
- ***************
- *** 1197,1203 ****
- linkput ? lstat(n, &s) :
- #endif /* S_IFLNK */
- SSTAT(n, &s)
- ! #if defined(__TURBOC__) || defined(VMS)
- /* Borland and VMS C bug: stat() succeeds on wild card names! */
- || isshexp(n)
- #endif
- --- 1202,1208 ----
- linkput ? lstat(n, &s) :
- #endif /* S_IFLNK */
- SSTAT(n, &s)
- ! #if defined(__TURBOC__) || defined(VMS) || defined(__GO32__)
- /* Borland and VMS C bug: stat() succeeds on wild card names! */
- || isshexp(n)
- #endif
-