mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-30 12:50:11 +00:00
8353568: SEGV_BNDERR signal code adjust definition
Reviewed-by: stuefe
This commit is contained in:
parent
6d9ece73a9
commit
6abf4e6d4d
@ -49,8 +49,12 @@
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#if !defined(SEGV_BNDERR)
|
||||
#define SEGV_BNDERR 3
|
||||
#define SEGV_BNDERR_value 3
|
||||
|
||||
#if defined(SEGV_BNDERR)
|
||||
STATIC_ASSERT(SEGV_BNDERR == SEGV_BNDERR_value);
|
||||
#else
|
||||
#define SEGV_BNDERR SEGV_BNDERR_value
|
||||
#endif
|
||||
|
||||
static const char* get_signal_name(int sig, char* out, size_t outlen);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user