tests: Fix PUGIXML_NO_XPATH,PUGIXML_COMPACT build
pugixml.hpp wasn't including the <exception> header in this build but test code needed it.
This commit is contained in:
parent
5f4afe3bd2
commit
474a4a3f73
@ -5,6 +5,10 @@
|
|||||||
|
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
|
||||||
|
#ifndef PUGIXML_NO_EXCEPTIONS
|
||||||
|
#include <exception>
|
||||||
|
#endif
|
||||||
|
|
||||||
struct test_runner
|
struct test_runner
|
||||||
{
|
{
|
||||||
test_runner(const char* name)
|
test_runner(const char* name)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user