summaryrefslogtreecommitdiff
path: root/nsig.h
blob: 7724a5704a1491d27d68cc7dd4c9b047c3ab1c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2016-2018 Dmitry V. Levin <ldv@altlinux.org>
 * All rights reserved.
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#ifndef STRACE_NSIG_H
# define STRACE_NSIG_H

# include <signal.h>

# ifndef NSIG
#  warning NSIG is not defined, using 32
#  define NSIG  32
# elif NSIG < 32
#  error NSIG < 32
# endif

# define NSIG_BYTES	(NSIG / 8)

#endif /* !STRACE_NSIG_H */