mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-24 21:00:15 +08:00
[BSP] Fix the WIN32 compiling issue.
rename _errno to __rt_errno for conflict in WIN32.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
#include <rtconfig.h>
|
||||
|
||||
#ifdef RT_USING_NEWLIB
|
||||
#if defined(RT_USING_NEWLIB) || defined(_WIN32)
|
||||
#include <sys/types.h>
|
||||
#else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user