Protect by testing for CGAL_USE_LEDA.

This commit is contained in:
Sylvain Pion 2008-01-12 20:25:40 +00:00
parent 06109ce606
commit bae7900e5f
4 changed files with 16 additions and 2 deletions

View File

@ -21,10 +21,11 @@
//
// Author(s) : Stefan Schirra, Michael Hemmer
#ifndef CGAL_LEDA_BIGFLOAT_H
#define CGAL_LEDA_BIGFLOAT_H
#ifdef CGAL_USE_LEDA
#include <CGAL/number_type_basic.h>
#include <utility>
@ -158,4 +159,6 @@ namespace leda {
#include <CGAL/leda_bigfloat.h>
#include <CGAL/leda_real.h>
#endif // CGAL_USE_LEDA
#endif // CGAL_LEDA_BIGFLOAT_H

View File

@ -24,6 +24,8 @@
#ifndef CGAL_LEDA_INTEGER_H
#define CGAL_LEDA_INTEGER_H
#ifdef CGAL_USE_LEDA
#include <CGAL/number_type_basic.h>
#include <utility>
@ -258,4 +260,6 @@ namespace leda {
#include <CGAL/leda_bigfloat.h>
#include <CGAL/leda_real.h>
#endif // CGAL_USE_LEDA
#endif // CGAL_LEDA_INTEGER_H

View File

@ -21,10 +21,11 @@
//
// Author(s) : Andreas Fabri, Michael Hemmer
#ifndef CGAL_LEDA_RATIONAL_H
#define CGAL_LEDA_RATIONAL_H
#ifdef CGAL_USE_LEDA
#include <CGAL/number_type_basic.h>
#include <CGAL/leda_coercion_traits.h>
#include <CGAL/Interval_nt.h>
@ -287,4 +288,6 @@ inline rational operator+( const rational& i) { return i; }
#include <CGAL/leda_bigfloat.h>
#include <CGAL/leda_real.h>
#endif // CGAL_USE_LEDA
#endif // CGAL_LEDA_RATIONAL_H

View File

@ -24,6 +24,8 @@
#ifndef CGAL_LEDA_REAL_H
#define CGAL_LEDA_REAL_H
#ifdef CGAL_USE_LEDA
#include <CGAL/number_type_basic.h>
#include <CGAL/leda_coercion_traits.h>
@ -255,4 +257,6 @@ namespace leda {
#include <CGAL/leda_bigfloat.h>
#include <CGAL/leda_real.h>
#endif // CGAL_USE_LEDA
#endif // CGAL_LEDA_REAL_H