From d6a27f15acd08e99841595cece2b3e3e8045491a Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期二, 13 十月 2020 18:15:55 +0800
Subject: [PATCH] update

---
 include/usgcommon/usg_typedef.h |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/include/usgcommon/usg_typedef.h b/include/usgcommon/usg_typedef.h
index a4c11b2..f5d4b5b 100644
--- a/include/usgcommon/usg_typedef.h
+++ b/include/usgcommon/usg_typedef.h
@@ -21,6 +21,11 @@
 
 #endif
 
+#ifdef _WIN32
+#define PATH_SEPERATOR   "\\"
+#else
+#define PATH_SEPERATOR   "/"
+#endif
 
 /* Default file permissions are DEF_MODE & ~DEF_UMASK */
 #define DEF_MODE   S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH
@@ -39,7 +44,7 @@
 #define MIN(a,b)  ((a) < (b) ? (a) : (b))
 #define MAX(a,b)  ((a) > (b) ? (a) : (b))
 
-
+#define BLANK "\t\n\v\f\r "
 /* Misc constants */
 #define	MAXLINE	 1024  /* Max text line length */
 #define MAXBUF   8192  /* Max I/O buffer size */

--
Gitblit v1.8.0