Mercurial > hg > xemacs-beta
diff src/ndir.h @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 8de8e3f6228a |
children | 943eaba38521 |
line wrap: on
line diff
--- a/src/ndir.h Mon Aug 13 11:33:40 2007 +0200 +++ b/src/ndir.h Mon Aug 13 11:35:02 2007 +0200 @@ -27,11 +27,11 @@ #define INCLUDED_ndir_h_ #define DIRBLKSIZ 512 /* size of directory block */ -#ifdef WINDOWSNT +#ifdef WIN32_NATIVE #define MAXNAMLEN 255 -#else /* not WINDOWSNT */ +#else /* not WIN32_NATIVE */ #define MAXNAMLEN 15 /* maximum filename length */ -#endif /* not WINDOWSNT */ +#endif /* not WIN32_NATIVE */ /* NOTE: MAXNAMLEN must be one less than a multiple of 4 */ struct direct /* data from readdir() */ @@ -50,7 +50,7 @@ char dd_buf[DIRBLKSIZ]; /* directory block */ } DIR; /* stream data from opendir() */ -DIR *opendir (CONST char *filename); +DIR *opendir (const char *filename); int closedir (DIR *dirp); struct direct *readdir (DIR *dirp); struct direct *readdirver (DIR *dirp);