X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fndir.h;h=d05a05e14275f4372ad9f85714e33d23084b1f78;hb=c1fa38c050ef3bd87e784dea66eba3cdac585536;hp=703e972c367e960f64b3ea806863f22092a2f325;hpb=716cfba952c1dc0d2cf5c968971f3780ba728a89;p=chise%2Fxemacs-chise.git.1 diff --git a/src/ndir.h b/src/ndir.h index 703e972..d05a05e 100644 --- a/src/ndir.h +++ b/src/ndir.h @@ -27,11 +27,11 @@ Boston, MA 02111-1307, USA. */ #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 @@ typedef struct 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);