From b8c65b976ca47791ebfafdc7d6c92710d05a57c1 Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Wed, 8 Oct 2014 23:57:55 +0900 Subject: [PATCH] Fix test error on non-c++11 env. Signed-off-by: Kohei Takahashi --- test/sequence/std_tuple_auto_conv.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/sequence/std_tuple_auto_conv.cpp b/test/sequence/std_tuple_auto_conv.cpp index d3aa62b9..ebd83910 100644 --- a/test/sequence/std_tuple_auto_conv.cpp +++ b/test/sequence/std_tuple_auto_conv.cpp @@ -1,3 +1,8 @@ +#include + +#if !defined(BOOST_NO_CXX11_HDR_TUPLE) && \ + !defined(BOOST_NO_CXX11_SMART_PTR) + #include #include #include @@ -54,3 +59,12 @@ int main() return 0; } +#else + +int main() +{ + return 0; +} + +#endif +