From bcc6ffac9ece24f8db625c4e2a1e48fbc8258087 Mon Sep 17 00:00:00 2001 From: "dzzxzz@gmail.com" Date: Thu, 20 Sep 2012 08:13:23 +0000 Subject: sync RTGUI with github(https://github.com/RT-Thread/RTGUI) 9573987ab967d6823151f967e4715a995579c8e5 As always, full log is in GitHub. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2301 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/rtgui/common/filerw.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'components/rtgui/common') 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; -- cgit v1.3.1