PR libstdc++/45613
* include/bits/random.tcc: Add missing include guards.
* include/bits/random.h: Likewise.
* include/tr1/random.tcc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164074
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
+
+2010-09-09 Paolo Carlini <paolo.carlini@oracle.com>
+
* libsupc++/cxxabi.h: Uglify nothrow to __nothrow__; fix a few
inconsistent uglifications everywhere.
* You should not attempt to use it directly.
*/
+#ifndef _RANDOM_H
+#define _RANDOM_H 1
+
#include <vector>
namespace std
/* @} */ // group random_utilities
/* @} */ // group random
-
}
+#endif
* You should not attempt to use it directly.
*/
+#ifndef _RANDOM_TCC
+#define _RANDOM_TCC 1
+
#include <numeric> // std::accumulate and std::partial_sum
namespace std
return __sum / __tmp;
}
}
+
+#endif
* You should not attempt to use it directly.
*/
+#ifndef _GLIBCXX_TR1_RANDOM_TCC
+#define _GLIBCXX_TR1_RANDOM_TCC 1
+
namespace std
{
namespace tr1
}
}
}
+
+#endif