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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user