diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-05 22:25:02 +0200 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-20 19:14:15 +0200 |
commit | 0166faa685355d9cf1a0610727253687dbe99a31 (patch) | |
tree | 2eb84513e4609e0ea769baf17ab8b7c16c018bda | |
parent | 1cd850e44d789d5dda357a5f3c753626bae2bf87 (diff) | |
download | busybox-w32-0166faa685355d9cf1a0610727253687dbe99a31.tar.gz busybox-w32-0166faa685355d9cf1a0610727253687dbe99a31.tar.bz2 busybox-w32-0166faa685355d9cf1a0610727253687dbe99a31.zip |
win32: lineedit.c: crap
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
-rw-r--r-- | libbb/lineedit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index dc90846f9..d8793ae44 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -103,6 +103,10 @@ enum { | |||
103 | static const char null_str[] ALIGN1 = ""; | 103 | static const char null_str[] ALIGN1 = ""; |
104 | #endif | 104 | #endif |
105 | 105 | ||
106 | #if ENABLE_PLATFORM_MINGW32 | ||
107 | #define safe_read(fd,buf,size) wincon_read(fd,buf,size) | ||
108 | #endif | ||
109 | |||
106 | /* We try to minimize both static and stack usage. */ | 110 | /* We try to minimize both static and stack usage. */ |
107 | struct lineedit_statics { | 111 | struct lineedit_statics { |
108 | line_input_t *state; | 112 | line_input_t *state; |