From: Sebastian Hammer Date: Tue, 5 Dec 1995 11:15:03 +0000 (+0000) Subject: Fixed FILENAME_MAX for some Sun systems, hopefully. X-Git-Tag: ZEBRA.1.0~631 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=6d4e6112c30d94d01367397cd39a62134cce2cae Fixed FILENAME_MAX for some Sun systems, hopefully. --- diff --git a/include/mfile.h b/include/mfile.h index 3bd0591..864632b 100644 --- a/include/mfile.h +++ b/include/mfile.h @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: mfile.h,v $ - * Revision 1.4 1995-11-30 08:33:30 adam + * Revision 1.5 1995-12-05 11:15:03 quinn + * Fixed FILENAME_MAX for some Sun systems, hopefully. + * + * Revision 1.4 1995/11/30 08:33:30 adam * Started work on commit facility. * * Revision 1.3 1995/09/04 12:33:35 adam @@ -25,6 +28,11 @@ #include +#ifndef FILENAME_MAX +#include +#define FILENAME_MAX MAXPATHLEN +#endif + #define MF_MIN_BLOCKS_CREAT 1 /* minimum free blocks in new dir */ #define MF_DEFAULT_AREA "register" /* Use if no mf_init */ #define MF_MAX_PARTS 28 /* max # of part-files per metafile */