summaryrefslogtreecommitdiff
path: root/src/rt
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2019-08-07 15:49:38 +0800
committerfengweihao <[email protected]>2019-08-07 15:49:38 +0800
commit8d2857c813169683d258cec3df2ae5594fcf1a35 (patch)
tree04bb0774c033b5affc919a6592af335831f68e1f /src/rt
parent5e684f980b2d401ba5cb4b546fa9c517a2f04891 (diff)
修改签发证书获取时间方式
Diffstat (limited to 'src/rt')
-rw-r--r--src/rt/rt_string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rt/rt_string.h b/src/rt/rt_string.h
index 818abff..c183db5 100644
--- a/src/rt/rt_string.h
+++ b/src/rt/rt_string.h
@@ -33,6 +33,10 @@
#define FOREVER for(;;)
#endif
+#ifndef MIN
+#define MIN(a, b) (((a) < (b)) ? (a) : (b))
+#endif
+
typedef struct atomic {
volatile int counter;
} atomic_t;