update.
[chise/xemacs-chise.git.1] / src / ndir.h
index eceabcf..d05a05e 100644 (file)
@@ -23,12 +23,15 @@ Boston, MA 02111-1307, USA.  */
        last edit:      09-Jul-1983     D A Gwyn
 */
 
+#ifndef INCLUDED_ndir_h_
+#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() */
@@ -47,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);
@@ -55,3 +58,5 @@ long telldir (DIR *dirp);
 void seekdir (DIR *dirp, long loc);
 
 #define rewinddir( dirp )      seekdir( dirp, 0L )
+
+#endif /* INCLUDED_ndir_h_ */