comparison src/ndir.h @ 9792:b8fc349121d1

(MAXNAMLEN) [WINDOWSNT]: Define as 255.
author Richard M. Stallman <rms@gnu.org>
date Tue, 01 Nov 1994 08:24:29 +0000
parents 321b22a46f7a
children 695cf19ef79e
comparison
equal deleted inserted replaced
9791:068c89ed6765 9792:b8fc349121d1
20 #define DIRBLKSIZ 512 /* size of directory block */ 20 #define DIRBLKSIZ 512 /* size of directory block */
21 #ifdef VMS 21 #ifdef VMS
22 #define MAXNAMLEN (DIR$S_NAME + 7) /* 80 plus room for version #. */ 22 #define MAXNAMLEN (DIR$S_NAME + 7) /* 80 plus room for version #. */
23 #define MAXFULLSPEC NAM$C_MAXRSS /* Maximum full spec */ 23 #define MAXFULLSPEC NAM$C_MAXRSS /* Maximum full spec */
24 #else 24 #else
25 #ifdef WINDOWSNT
26 #define MAXNAMLEN 255
27 #else /* not WINDOWSNT */
25 #define MAXNAMLEN 15 /* maximum filename length */ 28 #define MAXNAMLEN 15 /* maximum filename length */
29 #endif /* not WINDOWSNT */
26 #endif /* VMS */ 30 #endif /* VMS */
27 /* NOTE: MAXNAMLEN must be one less than a multiple of 4 */ 31 /* NOTE: MAXNAMLEN must be one less than a multiple of 4 */
28 32
29 struct direct /* data from readdir() */ 33 struct direct /* data from readdir() */
30 { 34 {