summaryrefslogtreecommitdiff
path: root/tests/main.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-06 08:49:58 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-06 08:49:58 +0000
commit04629118dbde33fdedfe489119f34912f8e7c124 (patch)
tree1a212f9122d56d1147c64b5c44fa99248e6a21cb /tests/main.cpp
parent72dd6038a23029a0fd537237540f99507dbc361f (diff)
tests: Android compilation fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@846 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/main.cpp')
-rw-r--r--tests/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/main.cpp b/tests/main.cpp
index 21e9e6a..d580a03 100644
--- a/tests/main.cpp
+++ b/tests/main.cpp
@@ -1,12 +1,15 @@
#include "test.hpp"
#include "allocator.hpp"
-#include <exception>
#include <stdio.h>
#include <stdlib.h>
#include <float.h>
#include <assert.h>
+#ifndef PUGIXML_NO_EXCEPTIONS
+# include <exception>
+#endif
+
#ifdef _WIN32_WCE
# undef DebugBreak
# include <windows.h>