mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
errno: use staic errno to replace tl_errno before tls initialization
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@
|
||||
#define set_errno(e) \
|
||||
do \
|
||||
{ \
|
||||
errno = (int)(e); \
|
||||
errno = (int)(e); \
|
||||
} \
|
||||
while (0)
|
||||
#define get_errno() errno
|
||||
|
||||
Reference in New Issue
Block a user