Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2008-04-29 14:08:50


Author: dgregor
Date: 2008-04-29 14:08:49 EDT (Tue, 29 Apr 2008)
New Revision: 44888
URL: http://svn.boost.org/trac/boost/changeset/44888

Log:
Merge Boost.MPI change supporting signed characters
Text files modified:
   branches/release/boost/mpi/datatype.hpp | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: branches/release/boost/mpi/datatype.hpp
==============================================================================
--- branches/release/boost/mpi/datatype.hpp (original)
+++ branches/release/boost/mpi/datatype.hpp 2008-04-29 14:08:49 EDT (Tue, 29 Apr 2008)
@@ -282,6 +282,11 @@
 BOOST_MPI_DATATYPE(unsigned __int64, MPI_UNSIGNED_LONG_LONG, builtin);
 #endif
 
+// Define signed char specialization of is_mpi_datatype, if possible.
+#if defined(MPI_SIGNED_CHAR) || (defined(MPI_VERSION) && MPI_VERSION >= 2)
+BOOST_MPI_DATATYPE(signed char, MPI_SIGNED_CHAR, builtin);
+#endif
+
 #endif // Doxygen
 
 namespace detail {


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