aboutsummaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-10 18:24:47 +1000
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-10 19:45:01 +1000
commit1674f39266dda7929fc21e842554dec9ad43e5ea (patch)
tree53d3d7ddab49bce77de1df642f3b7490f30de630 /win32
parent803ebf09045d48675938ab60c9721f7f22b97a06 (diff)
downloadbusybox-w32-1674f39266dda7929fc21e842554dec9ad43e5ea.tar.gz
busybox-w32-1674f39266dda7929fc21e842554dec9ad43e5ea.tar.bz2
busybox-w32-1674f39266dda7929fc21e842554dec9ad43e5ea.zip
win32: add termios stub so that it builds
Diffstat (limited to 'win32')
-rw-r--r--win32/Kbuild1
-rw-r--r--win32/termios.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/win32/Kbuild b/win32/Kbuild
index dc3b24376..a4a7f32d4 100644
--- a/win32/Kbuild
+++ b/win32/Kbuild
@@ -9,4 +9,5 @@ lib-$(CONFIG_PLATFORM_MINGW32) += fnmatch.o
9lib-$(CONFIG_PLATFORM_MINGW32) += mingw.o 9lib-$(CONFIG_PLATFORM_MINGW32) += mingw.o
10lib-$(CONFIG_PLATFORM_MINGW32) += process.o 10lib-$(CONFIG_PLATFORM_MINGW32) += process.o
11lib-$(CONFIG_PLATFORM_MINGW32) += regex.o 11lib-$(CONFIG_PLATFORM_MINGW32) += regex.o
12lib-$(CONFIG_PLATFORM_MINGW32) += termios.o
12lib-$(CONFIG_PLATFORM_MINGW32) += winansi.o 13lib-$(CONFIG_PLATFORM_MINGW32) += winansi.o
diff --git a/win32/termios.c b/win32/termios.c
new file mode 100644
index 000000000..0aba48546
--- /dev/null
+++ b/win32/termios.c
@@ -0,0 +1,11 @@
1#include "busybox.h"
2
3int tcsetattr(int fd UNUSED_PARAM, int mode UNUSED_PARAM, const struct termios *t UNUSED_PARAM)
4{
5 return -1;
6}
7
8int tcgetattr(int fd UNUSED_PARAM, struct termios *t UNUSED_PARAM)
9{
10 return -1;
11}