Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80859 - trunk/libs/test/test
From: steven_at_[hidden]
Date: 2012-10-04 23:40:16


Author: steven_watanabe
Date: 2012-10-04 23:40:16 EDT (Thu, 04 Oct 2012)
New Revision: 80859
URL: http://svn.boost.org/trac/boost/changeset/80859

Log:
This test claims to be N/A for powerpc. Catch xlc's macro.
Text files modified:
   trunk/libs/test/test/prg_exec_fail2.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/test/test/prg_exec_fail2.cpp
==============================================================================
--- trunk/libs/test/test/prg_exec_fail2.cpp (original)
+++ trunk/libs/test/test/prg_exec_fail2.cpp 2012-10-04 23:40:16 EDT (Thu, 04 Oct 2012)
@@ -29,8 +29,8 @@
 
 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");
+#if (defined(APPLE) && defined(ppc)) || defined(_ARCH_PPC)
+ printf("The ppc doesn't throw on divide-by-zero. No check.\n");
     return 1;
 #else
     int div = 0;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk