From 2b1b179702863e8e6d077c025f5244eaa461a990 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 28 Nov 2007 17:13:28 +0000 Subject: Fixed to build with boost 1.34 as well as boost 1.33 - boost::ptr_map API changed. - Boost.Test unit test framework changes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@599067 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/unit_test.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cpp/src/tests/unit_test.cpp') diff --git a/cpp/src/tests/unit_test.cpp b/cpp/src/tests/unit_test.cpp index aed6f6a4af..00c61242e4 100644 --- a/cpp/src/tests/unit_test.cpp +++ b/cpp/src/tests/unit_test.cpp @@ -16,7 +16,8 @@ * */ -#define BOOST_AUTO_TEST_MAIN // Must come before #include -#include - // Defines test_main function to link with actual unit test code. +#define BOOST_AUTO_TEST_MAIN // Boost 1.33 +#define BOOST_TEST_MAIN +#include "unit_test.h" + -- cgit v1.2.1