blob: 67821949cc813ea1901714f647c967efb2f48a1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- ./base/process/memory_unittest.cc.orig 2014-04-24 22:36:10.000000000 +0200
+++ ./base/process/memory_unittest.cc 2014-04-24 23:23:41.000000000 +0200
@@ -151,12 +151,12 @@
// Android doesn't implement set_new_handler, so we can't use the
// OutOfMemoryTest cases.
-// OpenBSD does not support these tests either.
+// OpenBSD and FreeBSD does not support these tests either.
// AddressSanitizer and ThreadSanitizer define the malloc()/free()/etc.
// functions so that they don't crash if the program is out of memory, so the
// OOM tests aren't supposed to work.
// TODO(vandebo) make this work on Windows too.
-#if !defined(OS_ANDROID) && !defined(OS_OPENBSD) && \
+#if !defined(OS_ANDROID) && !defined(OS_BSD) && \
!defined(OS_WIN) && \
!defined(ADDRESS_SANITIZER) && !defined(THREAD_SANITIZER)
@@ -372,5 +372,5 @@
#endif // !ARCH_CPU_64_BITS
#endif // OS_MACOSX
-#endif // !defined(OS_ANDROID) && !defined(OS_OPENBSD) &&
+#endif // !defined(OS_ANDROID) && !defined(OS_BSD) &&
// !defined(OS_WIN) && !defined(ADDRESS_SANITIZER)
|