~ubuntu-branches/ubuntu/oneiric/bombono-dvd/oneiric

« back to all changes in this revision

Viewing changes to libs/boost-lib/boost/config/no_tr1/complex.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101104114625-2tfaxma74eqggp5r
Tags: 0.8.0-0ubuntu1
* New upstream release (LP: #670193).
* Refresh 02_sparc.diff patch.
* Replace 05-boost_filesystem-link.patch with 05-fix_boost.patch, it fixes
  build failure with Boost <= 1.44.
* Bump Standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//  (C) Copyright John Maddock 2005.
 
2
//  Use, modification and distribution are subject to the
 
3
//  Boost Software License, Version 1.0. (See accompanying file
 
4
//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
5
//
 
6
// The aim of this header is just to include <complex> but to do
 
7
// so in a way that does not result in recursive inclusion of
 
8
// the Boost TR1 components if boost/tr1/tr1/complex is in the
 
9
// include search path.  We have to do this to avoid circular
 
10
// dependencies:
 
11
//
 
12
 
 
13
#ifndef BOOST_CONFIG_COMPLEX
 
14
#  define BOOST_CONFIG_COMPLEX
 
15
 
 
16
#  ifndef BOOST_TR1_NO_RECURSION
 
17
#     define BOOST_TR1_NO_RECURSION
 
18
#     define BOOST_CONFIG_NO_COMPLEX_RECURSION
 
19
#  endif
 
20
 
 
21
#  include <complex>
 
22
 
 
23
#  ifdef BOOST_CONFIG_NO_COMPLEX_RECURSION
 
24
#     undef BOOST_TR1_NO_RECURSION
 
25
#     undef BOOST_CONFIG_NO_COMPLEX_RECURSION
 
26
#  endif
 
27
 
 
28
#endif