diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2010-09-09 11:23:39 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2010-09-09 11:23:39 +0000 |
commit | 06f29237d759b49656326add6d7c8e1c2c34049a (patch) | |
tree | be3fc700c7224a83245390cb5a15f0dada1e15fd /libstdc++-v3/include/tr1 | |
parent | 61356c15ac61881579a93c7f1d02e0bec7fec857 (diff) | |
download | gcc-06f29237d759b49656326add6d7c8e1c2c34049a.tar.gz |
re PR libstdc++/45613 (bits/random.h misses include guards)
2010-09-09 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/45613
* include/bits/random.tcc: Add missing include guards.
* include/bits/random.h: Likewise.
* include/tr1/random.tcc: Likewise.
From-SVN: r164074
Diffstat (limited to 'libstdc++-v3/include/tr1')
-rw-r--r-- | libstdc++-v3/include/tr1/random.tcc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libstdc++-v3/include/tr1/random.tcc b/libstdc++-v3/include/tr1/random.tcc index f458cc74748..1bc8f1f8fbb 100644 --- a/libstdc++-v3/include/tr1/random.tcc +++ b/libstdc++-v3/include/tr1/random.tcc @@ -28,6 +28,9 @@ * You should not attempt to use it directly. */ +#ifndef _GLIBCXX_TR1_RANDOM_TCC +#define _GLIBCXX_TR1_RANDOM_TCC 1 + namespace std { namespace tr1 @@ -1708,3 +1711,5 @@ namespace tr1 } } } + +#endif |