mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 16:20:33 -04:00
11 lines
547 B
C++
11 lines
547 B
C++
--- base/security_unittest.cc.orig 2019-04-30 22:22:28 UTC
|
|
+++ base/security_unittest.cc
|
|
@@ -60,7 +60,7 @@ NOINLINE Type HideValueFromCompiler(volatile Type valu
|
|
// FAILS_ is too clunky.
|
|
void OverflowTestsSoftExpectTrue(bool overflow_detected) {
|
|
if (!overflow_detected) {
|
|
-#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_MACOSX)
|
|
+#if defined(OS_POSIX) && !defined(OS_NACL)
|
|
// Sadly, on Linux, Android, and OSX we don't have a good story yet. Don't
|
|
// fail the test, but report.
|
|
printf("Platform has overflow: %s\n",
|