fix lack of inclusion of <CGAL/basic.h> before the use of a CGAL_USE_* macro.

This commit is contained in:
Laurent Rineau 2007-03-12 14:53:27 +00:00
parent 160875b14c
commit 7933f33254
4 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,7 @@
// //
// Author(s) : Stefan Schirra // Author(s) : Stefan Schirra
#include <CGAL/basic.h>
#ifdef CGAL_USE_LEDA #ifdef CGAL_USE_LEDA
#include <CGAL/basic.h> #include <CGAL/basic.h>

View File

@ -1,3 +1,5 @@
#include <CGAL/basic.h>
#ifdef CGAL_USE_GMP #ifdef CGAL_USE_GMP
// GMP is installed. Use the GMP rational number-type. // GMP is installed. Use the GMP rational number-type.
#include <CGAL/Gmpq.h> #include <CGAL/Gmpq.h>

View File

@ -1,4 +1,5 @@
#include <iostream> #include <iostream>
#include <CGAL/basic.h>
#ifdef CGAL_USE_GMP #ifdef CGAL_USE_GMP
#include <CGAL/Gmpzf.h> #include <CGAL/Gmpzf.h>
typedef CGAL::Gmpzf ET; typedef CGAL::Gmpzf ET;

View File

@ -21,6 +21,7 @@
// coordinator : MPI, Saarbruecken (<Stefan.Schirra@mpi-sb.mpg.de>) // coordinator : MPI, Saarbruecken (<Stefan.Schirra@mpi-sb.mpg.de>)
// ============================================================================ // ============================================================================
#include <CGAL/basic.h>
#if !defined(CGAL_USE_LEDA) #if !defined(CGAL_USE_LEDA)
int main() { return 0; } int main() { return 0; }