Ticket #583: libs-python-test-select_from_python_test_cpp.patch

File libs-python-test-select_from_python_test_cpp.patch, 971 bytes (added by Thomas Witt, 15 years ago)
  • libs/python/test/select_from_python_test.cpp

    diff -ru boost_1_34_0/libs/python/test/select_from_python_test.cpp boost_1_34_0_ibm/libs/python/test/select_from_python_test.cpp
    old new  
    55#include <boost/python/type_id.hpp>
    66#include <iostream>
    77
    8 // gcc 2.95.x and MIPSpro 7.3.1.3 linker seem to demand this definition
    9 #if ((defined(__GNUC__) && __GNUC__ < 3)) \
    10  || (defined(__sgi) && defined(__EDG_VERSION__) && (__EDG_VERSION__ == 238))
     8// gcc 2.95.x, MIPSpro 7.3.1.3 and IBM XL for Linux linker seem to demand this definition
     9#if (defined(__GNUC__) && (__GNUC__ < 3)) \
     10 || (defined(__sgi) && defined(__EDG_VERSION__) && (__EDG_VERSION__ == 238)) \
     11 || (defined(__IBMCPP__) && defined(__linux__))
    1112namespace boost { namespace python {
    1213BOOST_PYTHON_DECL bool handle_exception_impl(function0<void>)
    1314{