freebsd-ports/www/chromium/files/patch-base__process__memory_unittest.cc
Rene Ladan ef6503643e Update to 30.0.1599.66
Note that support for 10.0 is currently untested, WIP.
Submitted by:	George Liaskos
Security:	http://vuxml.org/freebsd/e5414d0c-2ade-11e3-821d-00262d5ed8ee.html
2013-10-09 10:01:09 +00:00

24 lines
1 KiB
C++

--- base/process/memory_unittest.cc.orig 2013-09-24 23:49:53.000000000 +0300
+++ base/process/memory_unittest.cc 2013-09-24 23:50:57.000000000 +0300
@@ -153,12 +153,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)
@@ -375,5 +375,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)