summary refs log tree commit diff
path: root/bits
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-03-22 17:27:51 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-03-22 17:29:14 +0100
commit661a7dbad01ea6a55052e0225c88116c873c0bf4 (patch)
treed179ae0895d4f8bb06e1a45798b6e777b69743c5 /bits
parent6a9350c854425fe7410c7733a5e172273fc3e81d (diff)
downloadglibc-661a7dbad01ea6a55052e0225c88116c873c0bf4.tar.gz
glibc-661a7dbad01ea6a55052e0225c88116c873c0bf4.tar.xz
glibc-661a7dbad01ea6a55052e0225c88116c873c0bf4.zip
Fix visibility of EXTPROC macro
* bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
Diffstat (limited to 'bits')
-rw-r--r--bits/termios.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bits/termios.h b/bits/termios.h
index 8a2fcafdf1..460729dacd 100644
--- a/bits/termios.h
+++ b/bits/termios.h
@@ -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