mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-06 01:21:08 +00:00
(__NSSBITS): Correct value.
This commit is contained in:
parent
064d652e93
commit
d97abfcbcb
@ -1,5 +1,5 @@
|
||||
/* __sig_atomic_t, __sigset_t, and related definitions. SVR4 version.
|
||||
Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
|
||||
Copyright (C) 1994-1996, 2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -44,7 +44,7 @@ typedef struct
|
||||
|
||||
|
||||
/* It's easier to assume 8-bit bytes than to get CHAR_BIT. */
|
||||
#define __NSSBITS (sizeof (__sigset_t) * 8)
|
||||
#define __NSSBITS (sizeof (unsigned long int) * 8)
|
||||
#define __SSELT(s) ((s) / __NSSBITS)
|
||||
#define __SSMASK(s) (1 << ((s) % __NSSBITS))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user