From: Matthias Kretz Date: Wed, 17 Apr 2024 08:12:42 +0000 (+0200) Subject: libstdc++: Add include guard to simd-internal header X-Git-Tag: releases/gcc-11.5.0~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef919c8c6d5fe65c56279261c08f9033c4b449cd;p=thirdparty%2Fgcc.git libstdc++: Add include guard to simd-internal header Signed-off-by: Matthias Kretz libstdc++-v3/ChangeLog: * include/experimental/bits/numeric_traits.h: Add include guard. (cherry picked from commit 3cfe94ad28102618c14a91c0a83d9e5cc7df69d7) --- diff --git a/libstdc++-v3/include/experimental/bits/numeric_traits.h b/libstdc++-v3/include/experimental/bits/numeric_traits.h index 0a1c711a559b..fd6ad761fb3d 100644 --- a/libstdc++-v3/include/experimental/bits/numeric_traits.h +++ b/libstdc++-v3/include/experimental/bits/numeric_traits.h @@ -22,6 +22,9 @@ // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // . +#ifndef _GLIBCXX_EXPERIMENTAL_BITS_NUMERIC_TRAITS_H +#define _GLIBCXX_EXPERIMENTAL_BITS_NUMERIC_TRAITS_H + #include namespace std { @@ -565,3 +568,4 @@ template <> #endif // __FINITE_MATH_ONLY__ } // namespace std +#endif // _GLIBCXX_EXPERIMENTAL_BITS_NUMERIC_TRAITS_H