diff options
| author | bernard <[email protected]> | 2017-06-06 23:34:01 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2017-06-06 23:34:01 +0800 |
| commit | 0acf4418362f692b8a72fe5aa8fbf6f51e202d63 (patch) | |
| tree | 6f15838060e16a83587381000ea3e6212c68a4aa /include | |
| parent | 380754f4fdd738482c3b8decf10ede82262e24d5 (diff) | |
Fix compiling warning for Win32.
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index 2037645e44..f67bab997f 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -507,7 +507,7 @@ rt_device_t rt_console_get_device(void); rt_err_t rt_get_errno(void); void rt_set_errno(rt_err_t no); int *_rt_errno(void); -#ifndef RT_USING_NEWLIB +#if !defined(RT_USING_NEWLIB) && !defined(_WIN32) #ifndef errno #define errno *_rt_errno() #endif |
