[BSP] Fix the WIN32 compiling issue.

rename _errno to __rt_errno for conflict in WIN32.
This commit is contained in:
bernard
2017-11-30 23:56:52 +08:00
parent 2a83353e5f
commit ae7237dc53
12 changed files with 56 additions and 32 deletions

View File

@@ -27,7 +27,7 @@
#include <rtconfig.h>
#ifdef RT_USING_NEWLIB
#if defined(RT_USING_NEWLIB) || defined(_WIN32)
#include <sys/types.h>
#else