From 6d4740bcab804a83ef8dbb1965e8ee88fd60de0c Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Mon, 18 Apr 2005 09:05:44 +0000 Subject: [PATCH] Fix link failure for shared linking on Linux [SVN r28316] --- test/partial_workaround.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/partial_workaround.cpp b/test/partial_workaround.cpp index 78a26e2..36cd213 100755 --- a/test/partial_workaround.cpp +++ b/test/partial_workaround.cpp @@ -105,7 +105,15 @@ test_suite* init_unit_test_suite( int argc, char* argv[] ) #else // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -int main() { return 0; } +#include +using boost::unit_test::test_suite; + +test_suite* init_unit_test_suite( int, char** ) +{ + test_suite* test = BOOST_TEST_SUITE( "Range Test Suite" ); + + return test; +} #endif