diff --git a/include/seqan3/std/charconv b/include/seqan3/std/charconv index 205a0d43cd..cac9de245b 100644 --- a/include/seqan3/std/charconv +++ b/include/seqan3/std/charconv @@ -11,7 +11,9 @@ * \author Svenja Mehringer */ -#pragma once +// File might be included from multiple libraries. +#ifndef SEQAN_STD_CHARCONV_SHIM +#define SEQAN_STD_CHARCONV_SHIM #include #include // __cpp_lib_to_chars may be defined here as currently documented. @@ -270,3 +272,5 @@ using ::seqan3::contrib::charconv_float::from_chars; // import our shim-float ve } // namespace std #endif // __cpp_lib_to_chars < 201611 + +#endif // SEQAN_STD_CHARCONV_SHIM diff --git a/include/seqan3/std/new b/include/seqan3/std/new index e4d5ac56b3..c0893c4636 100644 --- a/include/seqan3/std/new +++ b/include/seqan3/std/new @@ -11,7 +11,9 @@ * \author Rene Rahn */ -#pragma once +// File might be included from multiple libraries. +#ifndef SEQAN_STD_NEW_SHIM +#define SEQAN_STD_NEW_SHIM #include @@ -40,3 +42,5 @@ inline constexpr std::size_t hardware_constructive_interference_size = 64; } // namespace std #endif // __cpp_lib_hardware_interference_size + +#endif // SEQAN_STD_NEW_SHIM diff --git a/include/seqan3/std/ranges b/include/seqan3/std/ranges index 5594bda397..239e5c9fd3 100644 --- a/include/seqan3/std/ranges +++ b/include/seqan3/std/ranges @@ -11,7 +11,9 @@ * \author Hannes Hauswedell */ -#pragma once +// File might be included from multiple libraries. +#ifndef SEQAN_STD_RANGES_SHIM +#define SEQAN_STD_RANGES_SHIM #include #include @@ -112,3 +114,5 @@ template //!\endcond inline constexpr bool enable_borrowed_range = true; } // namespace std::ranges + +#endif // SEQAN_STD_RANGES_SHIM