about summary refs log tree commit diff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-04-30 11:37:41 -0700
committerDavid S. Miller <davem@davemloft.net>2014-04-30 11:37:41 -0700
commit211d653cb6590109281dc7f42a83b43bb2e43c7a (patch)
treef23b327f40892b7eb6717589a929b5a2d7f5851a /sysdeps/unix/sysv
parent69124b48b9f6c477253954164721c216ddadf323 (diff)
downloadglibc-211d653cb6590109281dc7f42a83b43bb2e43c7a.tar.gz
glibc-211d653cb6590109281dc7f42a83b43bb2e43c7a.tar.xz
glibc-211d653cb6590109281dc7f42a83b43bb2e43c7a.zip
Fix some sparc conform test failures in siginfo.h
	* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
	with XOPEN cpp guards.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/siginfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/siginfo.h b/sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
index 6c145ce9b9..fcf83c5176 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
@@ -278,12 +278,14 @@ enum
 };
 # endif
 
+# if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
 /* `si_code' values for SIGEMT signal.  */
 enum
 {
   EMT_TAGOVF = 1		/* Tag overflow.  */
 # define EMT_TAGOVF	EMT_TAGOVF
 };
+# endif
 
 # undef __need_siginfo_t
 #endif	/* !have siginfo_t && (have _SIGNAL_H || need siginfo_t).  */