X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c61294eca5edf4f245c2d8818bf53d3bdc3d80c1..d50cd0782e32cf9632e7cf7299960e1f666fdc59:/h/mh.h diff --git a/h/mh.h b/h/mh.h index 503797c6..f1568a48 100644 --- a/h/mh.h +++ b/h/mh.h @@ -19,6 +19,12 @@ #define DMAXFOLDER 4 /* typical number of digits */ #define MAXFOLDER 1000 /* message increment */ +/* + * This macro is for use by scan, for example, so that platforms with + * a small BUFSIZ can easily allocate larger buffers. + */ +#define NMH_BUFSIZ (BUFSIZ>=8192 ? BUFSIZ : 8192) + #ifndef FALSE #define FALSE 0 #endif