From a1ea566fbc28616fc42fa40cd8c40e7e2a07671d Mon Sep 17 00:00:00 2001 From: David Carlier Date: Tue, 20 Nov 2018 22:35:29 +0000 Subject: [PATCH] [Sanitizer] Unbreak non NetBSD builds. llvm-svn: 347357 --- compiler-rt/test/sanitizer_common/TestCases/Posix/setvbuf.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/setvbuf.cc b/compiler-rt/test/sanitizer_common/TestCases/Posix/setvbuf.cc index 43b09537c996..f7c0123e49a3 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/Posix/setvbuf.cc +++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/setvbuf.cc @@ -62,9 +62,11 @@ void test_setvbuf() { int main(void) { printf("setvbuf\n"); +#if defined(__NetBSD__) test_setbuf(); test_setbuffer(); test_setlinebuf(); +#endif test_setvbuf(); // CHECK: setvbuf