/* Copyright (c) 1997-2004
   Ewgenij Gawrilow, Michael Joswig (Technische Universitaet Berlin, Germany)
   http://www.math.tu-berlin.de/polymake,  mailto:polymake@math.tu-berlin.de

   This program 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, or (at your option) any
   later version: http://www.gnu.org/licenses/gpl.txt.

   This program 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.
*/

#ifndef _POLYMAKE_EXT_DEFINES_H
#define _POLYMAKE_EXT_DEFINES_H "$Project: polymake $$Id: defines.h,v 1.2 2004/06/22 16:22:41 gawrilow Exp $"

#ifdef std_ext
#  error std_ext already defined!
#endif

#if defined(__GNUC__)
#  define STD_EXT_HEADER(name) <ext/name>
#  if __GNUC__ == 3 && __GNUC_MINOR__ > 0
#    define std_ext __gnu_cxx
#    define STD_EXT_HEADER1(name) STD_EXT_HEADER(name)
#  else
#    define std_ext std
#    define STD_EXT_HEADER1(name) <name>
#  endif
#else
#  define STD_EXT_HEADER(name) <name>
#  define STD_EXT_HEADER1(name) <name>
#  if !defined(__INTEL_COMPILER)
#    define std_ext std
#  endif
#endif

#endif // _POLYMAKE_EXT_DEFINES_H

// Local Variables:
// mode:C++
// End:
