mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-20 14:28:15 +00: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)
|
||||
/* use errno.h file in newlib */
|
||||
#include <errno.h>
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user