Permalink
Browse files

Fix build for gcc4.7

  • Loading branch information...
1 parent 6628c4e commit f23c11d81717d0a162c6bc9cb05600ddff26d81f @RedBeard0531 RedBeard0531 committed Apr 11, 2012
@@ -3,6 +3,11 @@
// MS compatible compilers support #pragma once
+// 10gen added.
+#if defined(__GNUC__)
+#pragma GCC system_header
+#endif
+
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
@@ -18,6 +18,11 @@
#include <boost/limits.hpp>
#include <boost/pending/integer_log2.hpp>
+// 10gen added.
+#if defined(__GNUC__)
+#pragma GCC system_header
+#endif
+
namespace boost {
namespace random {
namespace detail {

0 comments on commit f23c11d

Please sign in to comment.