mirror of https://github.com/CGAL/cgal
fix lack of inclusion of <CGAL/basic.h> before the use of a CGAL_USE_* macro.
This commit is contained in:
parent
160875b14c
commit
7933f33254
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue