From f3d0d76f6b25855c08a57301fd4de7d628bdfc6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 6 Oct 2022 15:35:41 +0200 Subject: [PATCH] add or move include guards --- Number_types/include/CGAL/Exact_rational.h | 5 +++++ Number_types/include/CGAL/Mpzf.h | 5 +++-- STL_Extension/include/CGAL/assertions_behaviour.h | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Number_types/include/CGAL/Exact_rational.h b/Number_types/include/CGAL/Exact_rational.h index 613fa0cd0f0..f07c61d42a9 100644 --- a/Number_types/include/CGAL/Exact_rational.h +++ b/Number_types/include/CGAL/Exact_rational.h @@ -14,6 +14,9 @@ // // Author(s) : Laurent Rineau +#ifndef CGAL_EXACT_RATIONAL_H +#define CGAL_EXACT_RATIONAL_H + #include namespace CGAL { @@ -44,3 +47,5 @@ typedef internal::Exact_field_selector::Type Exact_rational; #endif } /* end namespace CGAL */ + +#endif // CGAL_EXACT_RATIONAL_H diff --git a/Number_types/include/CGAL/Mpzf.h b/Number_types/include/CGAL/Mpzf.h index b1b023a1058..c2689f3ee45 100644 --- a/Number_types/include/CGAL/Mpzf.h +++ b/Number_types/include/CGAL/Mpzf.h @@ -10,12 +10,13 @@ // // Author(s) : Marc Glisse +#ifndef CGAL_MPZF_H +#define CGAL_MPZF_H + #ifndef CGAL_NO_MPZF_DIVISION_OPERATOR #define CGAL_MPZF_DIVISION_OPERATOR 1 #endif -#ifndef CGAL_MPZF_H -#define CGAL_MPZF_H #include #include #include diff --git a/STL_Extension/include/CGAL/assertions_behaviour.h b/STL_Extension/include/CGAL/assertions_behaviour.h index a8bcb45fcf8..e70cf1e1169 100644 --- a/STL_Extension/include/CGAL/assertions_behaviour.h +++ b/STL_Extension/include/CGAL/assertions_behaviour.h @@ -14,11 +14,11 @@ // // Author(s) : Geert-Jan Giezeman and Sven Schoenherr -#include - #ifndef CGAL_ASSERTIONS_BEHAVIOUR_H #define CGAL_ASSERTIONS_BEHAVIOUR_H +#include + // workaround against the definition of EXIT in #ifdef EXIT # undef EXIT