summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog1
-rw-r--r--bits/termios.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 20818828b6..6a53c06c02 100644
--- 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>
 
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