Fix visibility of EXTPROC macro
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 22 Mar 2015 16:27:51 +0000 (17:27 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 22 Mar 2015 16:29:14 +0000 (17:29 +0100)
* bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.

ChangeLog
bits/termios.h

index 2081882..6a53c06 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,7 @@
        * nscd/nscd-client.h: Include <time.h>.
        * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
        9th parameter to __vm_region instead of int.
+       * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
 
 2015-03-19  Roland McGrath  <roland@hack.frob.com>
 
index 8a2fcaf..460729d 100644 (file)
@@ -230,7 +230,9 @@ struct termios
 #endif
 #define        _IEXTEN (1 << 10)       /* Enable DISCARD and LNEXT.  */
 #define        IEXTEN  _IEXTEN
-#define        EXTPROC (1 << 11)       /* External processing.  */
+#ifdef __USE_MISC
+# define EXTPROC       (1 << 11)       /* External processing.  */
+#endif
 #define        _TOSTOP (1 << 22)       /* Send SIGTTOU for background output.  */
 #define        TOSTOP  _TOSTOP
 #ifdef __USE_MISC