add or move include guards

This commit is contained in:
Sébastien Loriot 2022-10-06 15:35:41 +02:00
parent a4a7cc173e
commit f3d0d76f6b
3 changed files with 10 additions and 4 deletions

View File

@ -14,6 +14,9 @@
// //
// Author(s) : Laurent Rineau // Author(s) : Laurent Rineau
#ifndef CGAL_EXACT_RATIONAL_H
#define CGAL_EXACT_RATIONAL_H
#include <CGAL/Number_types/internal/Exact_type_selector.h> #include <CGAL/Number_types/internal/Exact_type_selector.h>
namespace CGAL { namespace CGAL {
@ -44,3 +47,5 @@ typedef internal::Exact_field_selector<double>::Type Exact_rational;
#endif #endif
} /* end namespace CGAL */ } /* end namespace CGAL */
#endif // CGAL_EXACT_RATIONAL_H

View File

@ -10,12 +10,13 @@
// //
// Author(s) : Marc Glisse // Author(s) : Marc Glisse
#ifndef CGAL_MPZF_H
#define CGAL_MPZF_H
#ifndef CGAL_NO_MPZF_DIVISION_OPERATOR #ifndef CGAL_NO_MPZF_DIVISION_OPERATOR
#define CGAL_MPZF_DIVISION_OPERATOR 1 #define CGAL_MPZF_DIVISION_OPERATOR 1
#endif #endif
#ifndef CGAL_MPZF_H
#define CGAL_MPZF_H
#include <cstdlib> #include <cstdlib>
#include <algorithm> #include <algorithm>
#include <climits> #include <climits>

View File

@ -14,11 +14,11 @@
// //
// Author(s) : Geert-Jan Giezeman and Sven Schoenherr // Author(s) : Geert-Jan Giezeman and Sven Schoenherr
#include <CGAL/config.h>
#ifndef CGAL_ASSERTIONS_BEHAVIOUR_H #ifndef CGAL_ASSERTIONS_BEHAVIOUR_H
#define CGAL_ASSERTIONS_BEHAVIOUR_H #define CGAL_ASSERTIONS_BEHAVIOUR_H
#include <CGAL/config.h>
// workaround against the definition of EXIT in <opencv2/core/internal.hpp> // workaround against the definition of EXIT in <opencv2/core/internal.hpp>
#ifdef EXIT #ifdef EXIT
# undef EXIT # undef EXIT