[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

@@ -40,7 +40,7 @@ typedef signed long off_t;
typedef int mode_t;
#endif
#if defined(__MINGW32__)
#if defined(__MINGW32__) || defined(_WIN32)
typedef signed long off_t;
typedef int mode_t;
#endif