summaryrefslogtreecommitdiff
path: root/src/ndir.h
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
commit6cc1fc1d3da7d2d44e707226c5296926b4b0c5d7 (patch)
tree9f1bd756d97bde475f24d0a8f475a6fb8a9c8220 /src/ndir.h
parentdbecffaa0116f8ece35ceef8c839b69b533e8037 (diff)
downloademacs-6cc1fc1d3da7d2d44e707226c5296926b4b0c5d7.tar.gz
(MAXNAMLEN) [WINDOWSNT]: Define as 255.
Diffstat (limited to 'src/ndir.h')
-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 */