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

https://gcc.gnu.org/g:3cfe94ad28102618c14a91c0a83d9e5cc7df69d7

commit r14-10002-g3cfe94ad28102618c14a91c0a83d9e5cc7df69d7
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.

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 b195de7c3db..8717f684d96 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-04-17  8:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-17  8:34 [gcc r14-10002] 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).