mq_notify: block all (application) signals in the worker thread
[musl] / arch / powerpc / bits / termios.h
index d2fc297..da1f406 100644 (file)
@@ -1,7 +1,6 @@
 #undef NCCS
 #define NCCS 19
-struct termios
-{
+struct termios {
        tcflag_t c_iflag;
        tcflag_t c_oflag;
        tcflag_t c_cflag;
@@ -54,6 +53,7 @@ struct termios
 #define ONLRET 0000040
 #define OFILL  0000100
 #define OFDEL  0000200
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_XOPEN_SOURCE)
 #define NLDLY  0001400
 #define NL0    0000000
 #define NL1    0000400
@@ -75,6 +75,7 @@ struct termios
 #define BSDLY  0100000
 #define BS0    0000000
 #define BS1    0100000
+#endif
 
 #define VTDLY  0200000
 #define VT0    0000000
@@ -152,7 +153,7 @@ struct termios
 #define EXTA    0000016
 #define EXTB    0000017
 #define CBAUD   00377
-#define CBAUDEX 0000000
+#define CBAUDEX 0000020
 #define CIBAUD  077600000
 #define CMSPAR  010000000000
 #define CRTSCTS 020000000000