1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
// Copyright (c) 1999
// Utrecht University (The Netherlands),
// ETH Zurich (Switzerland),
// INRIA Sophia-Antipolis (France),
// Max-Planck-Institute Saarbruecken (Germany),
// and Tel-Aviv University (Israel). All rights reserved.
//
// This file is part of CGAL (www.cgal.org)
//
// $URL: https://github.com/CGAL/cgal/blob/v6.1/LEDA/include/CGAL/LEDA_basic.h $
// $Id: include/CGAL/LEDA_basic.h b26b07a1242 $
// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
//
//
// Author(s) : Matthias Baesken
#ifndef CGAL_LEDA_BASIC_H
#define CGAL_LEDA_BASIC_H
#include <CGAL/config.h>
#ifdef CGAL_USE_LEDA
// The following is needed for LEDA 4.4 due to min/max problems...
# define LEDA_NO_MIN_MAX_TEMPL
#ifdef CGAL_CXX20
# define STREAM_DUMMY // disable stream_dummy() function that is not used and using features removed from c++20
// We cannot undef STREAM_DUMMY as LEDA/internal/PREAMBULE.h is not protected
#endif
#include <LEDA/system/basic.h>
#ifdef LEDA_NAMESPACE
# define CGAL_LEDA_SCOPE leda
#else
# define CGAL_LEDA_SCOPE
#endif
#endif
#endif
|