From 7ba5854ad1bc770a03d620cea78bafdc62dfdf24 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期五, 19 六月 2020 18:16:31 +0800 Subject: [PATCH] update --- common/include/usg_typedef.h | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/common/include/usg_typedef.h b/common/include/usg_typedef.h index 7976c59..55796e1 100644 --- a/common/include/usg_typedef.h +++ b/common/include/usg_typedef.h @@ -40,10 +40,13 @@ #define DIR_MODE (FILE_MODE | S_IXUSR | S_IXGRP | S_IXOTH) -#define min(a,b) ((a) < (b) ? (a) : (b)) -#define max(a,b) ((a) > (b) ? (a) : (b)) +#define MIN(a,b) ((a) < (b) ? (a) : (b)) +#define MAX(a,b) ((a) > (b) ? (a) : (b)) - + +/* Misc constants */ +#define MAXLINE 1024 /* Max text line length */ +#define MAXBUF 8192 /* Max I/O buffer size */ #ifdef __cplusplus } -- Gitblit v1.8.0