Skip to content

Commit 27c80fb

Browse files
brad0korli
andauthored
[sanitizer_common] Older Haiku needs _GNU_SOURCE (#156291)
Co-authored-by: Jérôme Duval <[email protected]>
1 parent 2e8ecf7 commit 27c80fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
# include "sanitizer_solaris.h"
3030

3131
# if SANITIZER_HAIKU
32+
# define _GNU_SOURCE
3233
# define _DEFAULT_SOURCE
3334
# endif
3435

0 commit comments

Comments
 (0)