diff options
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r-- | WWW/Library/Implementation/HTFile.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c index 2b8b61b8..a09d169d 100644 --- a/WWW/Library/Implementation/HTFile.c +++ b/WWW/Library/Implementation/HTFile.c @@ -26,7 +26,7 @@ #endif /* !VMS */ #ifdef DOSPATH -#define GOT_READ_DIR +#define HAVE_READDIR #include <dirent.h> #define USE_DIRENT #include "HTDOS.h" @@ -440,7 +440,7 @@ PRIVATE void free_suffixes NOARGS ** ** If a README file exists, then it is inserted into the document here. */ -#ifdef GOT_READ_DIR +#ifdef HAVE_READDIR PRIVATE void do_readme ARGS2(HTStructured *, target, CONST char *, localname) { FILE * fp; @@ -485,7 +485,7 @@ Bug removed thanks to joe@athena.mit.edu */ fclose(fp); } } -#endif /* GOT_READ_DIR */ +#endif /* HAVE_READDIR */ /* Make the cache file name for a W3 document. ** ------------------------------------------- @@ -1614,7 +1614,7 @@ PUBLIC int HTLoadFile ARGS4( char * localname = HTLocalName(addr); struct stat dir_info; -#ifdef GOT_READ_DIR +#ifdef HAVE_READDIR /* ** Multiformat handling. ** @@ -2034,7 +2034,7 @@ forget_multi: /* End of directory reading section */ -#endif /* GOT_READ_DIR */ +#endif /* HAVE_READDIR */ open_file: { FILE * fp = fopen(localname, "r"); |