summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-16 07:48:45 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-16 07:48:45 +0000
commit7b419ad9ecc9ff3056102a265a141863e168cd14 (patch)
tree859292c7e22106044ae27fb2aa02fee92624d00c /src/pugixml.cpp
parent4394a588c2d8f07b12201592054234cb321f37e5 (diff)
Automatically disable XPath when either PUGIXML_NO_STL or PUGIXML_NO_EXCEPTIONS is defined
git-svn-id: http://pugixml.googlecode.com/svn/trunk@524 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 90023ea..3f871f1 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -17,10 +17,6 @@
#include "pugixml.hpp"
-#if !defined(PUGIXML_NO_XPATH) && defined(PUGIXML_NO_EXCEPTIONS)
-#error No exception mode can not be used with XPath support
-#endif
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>