diff options
| author | Miguel <m.i@gmx.at> | 2018-10-10 21:54:10 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-10 21:54:10 +0200 |
| commit | e2005fda57ea4da12754d67ba127b09508125395 (patch) | |
| tree | 959aec5c5847bec7c2a404dc9be0fba80b95faf1 /xxx/packages | |
| parent | e9495844291a85a1f7ba3c76742a0dd1bf574e5f (diff) | |
cross compiling struggles
Diffstat (limited to 'xxx/packages')
| -rw-r--r-- | xxx/packages/ncurses-5.9/termios.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/xxx/packages/ncurses-5.9/termios.h b/xxx/packages/ncurses-5.9/termios.h index 98ae1b7..e38434d 100644 --- a/xxx/packages/ncurses-5.9/termios.h +++ b/xxx/packages/ncurses-5.9/termios.h @@ -25,7 +25,7 @@ struct __dirstream //https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/dirstream.h;h=8303f07fab6f6efaa39e51411ef924e712d995e0;hb=fa39685d5c7df2502213418bead44e9543a9b9ec }; -typedef uint32_t __ino_t; +//typedef uint32_t __ino_t; struct dirent { @@ -36,19 +36,19 @@ struct dirent char d_name[256]; /* We must not include limits.h! */ int d_namlen; }; -#define direct dirent +#define direct dirent typedef struct __dirstream DIR; #include <sys/time.h> - typedef unsigned char cc_t; typedef unsigned int speed_t; typedef unsigned int tcflag_t; #define NCCS 32 + struct termios { tcflag_t c_iflag; /* input mode flags */ @@ -242,8 +242,8 @@ struct termios #define _IOT_termios /* Hurd ioctl type field. */ \ _IOT (_IOTS (cflag_t), 4, _IOTS (cc_t), NCCS, _IOTS (speed_t), 2) - int tcgetattr(int fd, struct termios *termios_p); - int tcsetattr(int fd, int optional_actions, const struct termios *termios_p); + // int tcgetattr(int fd, struct termios *termios_p); + // int tcsetattr(int fd, int optional_actions, const struct termios *termios_p); /** int tcsendbreak(int fd, int duration); @@ -254,13 +254,13 @@ struct termios int tcflow(int fd, int action); */ - void cfmakeraw(struct termios *termios_p); + // void cfmakeraw(struct termios *termios_p); /* speed_t cfgetispeed(const struct termios *termios_p); */ - speed_t cfgetospeed(const struct termios *termios_p); +// speed_t cfgetospeed(const struct termios *termios_p); /* int cfsetispeed(struct termios *termios_p, speed_t speed); |
