cgal/cgal_window/include/CGAL/LEDA/global.h

82 lines
1.8 KiB
C++

// Copyright (c) 1999 Martin-Luther-University Halle-Wittenberg (Germany).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you may redistribute it under
// the terms of the Q Public License version 1.0.
// See the file LICENSE.QPL distributed with CGAL.
//
// Licensees holding a valid commercial license may use this file in
// accordance with the commercial license agreement provided with the software.
//
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
//
// $URL$
// $Id$
//
//
// Author(s) : Matthias Baesken, Algorithmic Solutions
#ifndef CGAL_WINDOW_GLOBAL_H
#define CGAL_WINDOW_GLOBAL_H
#if defined(CGAL_USE_CGAL_HEADERS)
#include <CGAL/basic.h>
#endif
//------------------------------------------------------------------------------
// global types, constants, and macros
//------------------------------------------------------------------------------
typedef void* GenPtr; // generic pointer type
#ifndef nil
#define nil 0
#endif
#define LEDA_PI 3.14159265358979323846
#define LEDA_PI_2 1.57079632679489661923
//------------------------------------------------------------------------------
// values
//------------------------------------------------------------------------------
#if defined(__USE_VALUES_H__)
#include <values.h>
#else
#include <cfloat>
#include <climits>
#if !defined(MAXINT)
#define MAXINT INT_MAX
#endif
#if !defined(MAXDOUBLE)
#define MAXDOUBLE DBL_MAX
#endif
#endif
//------------------------------------------------------------------------------
// LEDA class
//------------------------------------------------------------------------------
namespace CGAL {
struct __exportC LEDA {
static const char* copyright_string;
static const char* copyright_window_string;
};
}
#endif