From 877ded9f463afaec12aa57d20bcd1c502e75216f Mon Sep 17 00:00:00 2001 From: Gennadiy Rozental Date: Mon, 7 Jul 2008 05:50:26 +0000 Subject: [PATCH] Fixes #998 [SVN r47167] --- test/prg_exec_fail2.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/prg_exec_fail2.cpp b/test/prg_exec_fail2.cpp index d6befc6d..8663a4e4 100644 --- a/test/prg_exec_fail2.cpp +++ b/test/prg_exec_fail2.cpp @@ -1,4 +1,4 @@ -// (C) Copyright Gennadiy Rozental 2001-2007. +// (C) Copyright Gennadiy Rozental 2001-2008. // (C) Copyright Beman Dawes 2001. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at @@ -29,8 +29,13 @@ int cpp_main( int, char *[] ) // note the name { +#if defined(APPLE) && defined(ppc) + printf("The ppc doesn't throw on divice-by-zero. No check.\n"); + return 1; +#else int div = 0; return 10 / div; +#endif } //____________________________________________________________________________//