]> diplodocus.org Git - nmh/blobdiff - h/mh.h
Simplified test-mhl-flags a bit.
[nmh] / h / mh.h
diff --git a/h/mh.h b/h/mh.h
index 503797c6c5a1805b9e6254c6a59d07f6cbc00793..f1568a489a58ec29e7b3bb7597fa54e54b0b4127 100644 (file)
--- a/h/mh.h
+++ b/h/mh.h
 #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