From c6a302283cee53d113d88db89c0a242576dbc8c4 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期六, 13 六月 2020 10:15:50 +0800
Subject: [PATCH] 修改包路径

---
 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