summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-11-01 08:24:29 +0000
committerRichard M. Stallman <rms@gnu.org>1994-11-01 08:24:29 +0000
commita2a2abf81aed287cb6eac18facdfa5f31cb41731 (patch)
tree93fbb544f71f5c2ac0e44d3fe9dc35e5d582a5b3
parentd30a604681d751dc5e6a3c237ed9d9449aeb9531 (diff)
downloademacs-a2a2abf81aed287cb6eac18facdfa5f31cb41731.tar.gz
(MAXNAMLEN) [WINDOWSNT]: Define as 255.
-rw-r--r--src/ndir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ndir.h b/src/ndir.h
index 9fe498361c1..f02dfbd6703 100644
--- a/src/ndir.h
+++ b/src/ndir.h
@@ -22,7 +22,11 @@
#define MAXNAMLEN (DIR$S_NAME + 7) /* 80 plus room for version #. */
#define MAXFULLSPEC NAM$C_MAXRSS /* Maximum full spec */
#else
+#ifdef WINDOWSNT
+#define MAXNAMLEN 255
+#else /* not WINDOWSNT */
#define MAXNAMLEN 15 /* maximum filename length */
+#endif /* not WINDOWSNT */
#endif /* VMS */
/* NOTE: MAXNAMLEN must be one less than a multiple of 4 */