public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-8710] libstdc++: Add include guard to simd-internal header
@ 2024-05-07 16:19 Matthias Kretz
  0 siblings, 0 replies; only message in thread
From: Matthias Kretz @ 2024-05-07 16:19 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:22448860d7d5e8c5594f05457939e4991b6e107a

commit r13-8710-g22448860d7d5e8c5594f05457939e4991b6e107a
Author: Matthias Kretz <m.kretz@gsi.de>
Date:   Wed Apr 17 10:12:42 2024 +0200

    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)

Diff:
---
 libstdc++-v3/include/experimental/bits/numeric_traits.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libstdc++-v3/include/experimental/bits/numeric_traits.h b/libstdc++-v3/include/experimental/bits/numeric_traits.h
index be9282ede261..c2cbfd80c2e7 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-07 16:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-07 16:19 [gcc r13-8710] libstdc++: Add include guard to simd-internal header Matthias Kretz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).