panthema / 2012 / 1119-eSAIS-Inducing-Suffix-and-LCP-Arrays-in-External-Memory / eSAIS-DC3-LCP-0.5.0 / stxxl / include / stxxl / bits / deprecated.h (Download File)
/***************************************************************************
 *  include/stxxl/bits/deprecated.h
 *
 *  Part of the STXXL. See http://stxxl.sourceforge.net
 *
 *  Copyright (C) 2008-2009 Andreas Beckmann <beckmann@cs.uni-frankfurt.de>
 *
 *  Distributed under the Boost Software License, Version 1.0.
 *  (See accompanying file LICENSE_1_0.txt or copy at
 *  http://www.boost.org/LICENSE_1_0.txt)
 **************************************************************************/

#ifndef STXXL_HEADER__DEPRECATED_H
#define STXXL_HEADER__DEPRECATED_H

#ifdef STXXL_BOOST_CONFIG
 #include <boost/config.hpp>
#endif


#ifdef BOOST_MSVC
  #define _STXXL_DEPRECATED(x) __declspec(deprecated) x
#elif defined(__GNUG__) && ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100) < 30400)
// no __attribute__ ((__deprecated__)) in GCC 3.3
  #define _STXXL_DEPRECATED(x) x
#else
  #define _STXXL_DEPRECATED(x) x __attribute__ ((__deprecated__))
#endif

#endif // !STXXL_HEADER__DEPRECATED_H
// vim: et:ts=4:sw=4