aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Kretz <m.kretz@gsi.de>2024-04-17 10:12:42 +0200
committerMatthias Kretz <m.kretz@gsi.de>2024-05-07 18:14:52 +0200
commit22448860d7d5e8c5594f05457939e4991b6e107a (patch)
treee24d78af3a5fced51bb4536b8b6dcc45127147b4
parent4505045dadaa58b0f165479d038d8f0247aea8cc (diff)
libstdc++: Add include guard to simd-internal header
Signed-off-by: Matthias Kretz <m.kretz@gsi.de> libstdc++-v3/ChangeLog: * include/experimental/bits/numeric_traits.h: Add include guard. (cherry picked from commit 3cfe94ad28102618c14a91c0a83d9e5cc7df69d7)
-rw-r--r--libstdc++-v3/include/experimental/bits/numeric_traits.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++-v3/include/experimental/bits/numeric_traits.h b/libstdc++-v3/include/experimental/bits/numeric_traits.h
index be9282ede26..c2cbfd80c2e 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
// <http://www.gnu.org/licenses/>.
+#ifndef _GLIBCXX_EXPERIMENTAL_BITS_NUMERIC_TRAITS_H
+#define _GLIBCXX_EXPERIMENTAL_BITS_NUMERIC_TRAITS_H
+
#include <type_traits>
namespace std {
@@ -565,3 +568,4 @@ template <>
#endif // __FINITE_MATH_ONLY__
} // namespace std
+#endif // _GLIBCXX_EXPERIMENTAL_BITS_NUMERIC_TRAITS_H