diff options
Diffstat (limited to 'components/rtgui/common')
| -rw-r--r-- | components/rtgui/common/filerw.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/components/rtgui/common/filerw.c b/components/rtgui/common/filerw.c index d53b837d15..a639611726 100644 --- a/components/rtgui/common/filerw.c +++ b/components/rtgui/common/filerw.c @@ -214,11 +214,7 @@ static int parse_mode(const char *mode) switch (*mode) { case 0: return f; -#ifdef _WIN32 case 'b': f|=O_BINARY;break; -#else - case 'b': break; -#endif case 'r': f=O_RDONLY; break; case 'w': f=O_WRONLY|O_CREAT|O_TRUNC; break; case 'a': f=O_WRONLY|O_CREAT|O_APPEND; break; |
