* sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):

Make available only for __USE_GNU.
This commit is contained in:
Joseph Myers 2008-12-09 23:53:33 +00:00
parent 9a9863b435
commit 64762db413
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-12-09 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
Make available only for __USE_GNU.
2008-12-03 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define

View File

@ -303,7 +303,7 @@ enum
{
SCM_RIGHTS = 0x01 /* Transfer file descriptors. */
#define SCM_RIGHTS SCM_RIGHTS
#ifdef __USE_BSD
#ifdef __USE_GNU
, SCM_CREDENTIALS = 0x02 /* Credentials passing. */
# define SCM_CREDENTIALS SCM_CREDENTIALS
#endif