We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ce55b9 commit 067675cCopy full SHA for 067675c
src/hotspot/os/posix/signals_posix.cpp
@@ -50,8 +50,12 @@
50
51
#include <signal.h>
52
53
-#if !defined(SEGV_BNDERR)
54
-#define SEGV_BNDERR 3
+#define SEGV_BNDERR_value 3
+
55
+#if defined(SEGV_BNDERR)
56
+STATIC_ASSERT(SEGV_BNDERR == SEGV_BNDERR_value);
57
+#else
58
+#define SEGV_BNDERR SEGV_BNDERR_value
59
#endif
60
61
static const char* get_signal_name(int sig, char* out, size_t outlen);
0 commit comments