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 27b6284 commit 6f5b1faCopy full SHA for 6f5b1fa
src/hotspot/os/posix/signals_posix.cpp
@@ -48,8 +48,12 @@
48
49
#include <signal.h>
50
51
-#if !defined(SEGV_BNDERR)
52
-#define SEGV_BNDERR 3
+#define SEGV_BNDERR_value 3
+
53
+#if defined(SEGV_BNDERR)
54
+STATIC_ASSERT(SEGV_BNDERR == SEGV_BNDERR_value);
55
+#else
56
+#define SEGV_BNDERR SEGV_BNDERR_value
57
#endif
58
59
static const char* get_signal_name(int sig, char* out, size_t outlen);
0 commit comments