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 78f624a commit aac1d14Copy full SHA for aac1d14
compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
@@ -30,11 +30,12 @@
30
31
# if SANITIZER_NETBSD
32
# // for __lwp_gettcb_fast() / __lwp_getprivate_fast()
33
+# define _RTLD_SOURCE
34
+# include <machine/mcontext.h>
35
+# undef _RTLD_SOURCE
36
# include <sys/param.h>
-# if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 1099001200)
37
+# if __NetBSD_Version__ >= 1099001200
38
# include <machine/lwp_private.h>
-# else
-# define _RTLD_SOURCE
39
# endif
40
41
0 commit comments