/* Copyright © 2005-2006 Roger Leigh * * schroot is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * schroot is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA * *********************************************************************/ #ifndef SBUILD_TR1TYPES_H #define SBUILD_TR1TYPES_H #include #ifdef HAVE_TR1_MEMORY #include #elif HAVE_BOOST_SHARED_PTR_HPP #include namespace std { namespace tr1 { using boost::shared_ptr; } } #else #error A shared_ptr implementation is not available #endif #ifdef HAVE_TR1_TUPLE #include #elif HAVE_BOOST_TUPLE_TUPLE_HPP #include namespace std { namespace tr1 { using boost::tuple; using boost::get; } } #else #error A tuple implementation is not available #endif #endif /* SBUILD_TR1TYPES_H */ /* * Local Variables: * mode:C++ * End: */