summaryrefslogtreecommitdiff
path: root/cpp/src/tests/unit/logging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/unit/logging.cpp')
-rw-r--r--cpp/src/tests/unit/logging.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/unit/logging.cpp b/cpp/src/tests/unit/logging.cpp
index 3dbe68ad2b..c80bf7b337 100644
--- a/cpp/src/tests/unit/logging.cpp
+++ b/cpp/src/tests/unit/logging.cpp
@@ -16,6 +16,7 @@
*
*/
+#define BOOST_AUTO_TEST_MAIN // Must come before #include<boost/test/*>
#include "test_tools.h"
#include "qpid/log/Logger.h"
#include "qpid/log/Options.h"