mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-17 18:12:04 +01:00
Can now properly configure build to use either Expat or libxml2
This commit is contained in:
parent
93ab4b064d
commit
c4b21e5fee
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
#ifndef ARABICA_PARSERCONFIG_H
|
#ifndef ARABICA_PARSERCONFIG_H
|
||||||
#define ARABICA_PARSERCONFIG_H
|
#define ARABICA_PARSERCONFIG_H
|
||||||
|
|
||||||
#ifdef USE_LIBXML2
|
#ifdef ARABICA_USE_LIBXML2
|
||||||
#include <SAX/wrappers/saxlibxml2.hpp>
|
#include <SAX/wrappers/saxlibxml2.hpp>
|
||||||
#undef DEF_SAX_P
|
#undef DEF_SAX_P
|
||||||
#define DEF_SAX_P libxml2_wrapper
|
#define DEF_SAX_P libxml2_wrapper
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_LIBXML2
|
#ifdef ARABICA_USE_LIBXML2
|
||||||
#include "SAX/wrappers/saxlibxml2.cpp"
|
#include "SAX/wrappers/saxlibxml2.cpp"
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma message("Pulling in libxml2 wrappers")
|
#pragma message("Pulling in libxml2 wrappers")
|
||||||
|
|
Loading…
Reference in a new issue