mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-18 22:26:32 +01:00
Added compile time messages saying whether the Xerces namespace is defined or not
This commit is contained in:
parent
6428fb5093
commit
5b5670c9bd
2 changed files with 6 additions and 2 deletions
|
@ -8,6 +8,12 @@
|
|||
|
||||
#include <SAX/ParserConfig.h>
|
||||
|
||||
#ifndef XERCES_HAS_CPP_NAMESPACE
|
||||
#pragma message("No XERCES namespace")
|
||||
#else
|
||||
#pragma message("XERCES namespace defined")
|
||||
#endif
|
||||
|
||||
namespace SAX
|
||||
{
|
||||
|
||||
|
|
|
@ -39,11 +39,9 @@
|
|||
#include <xercesc/util/Janitor.hpp>
|
||||
|
||||
#ifndef XERCES_HAS_CPP_NAMESPACE
|
||||
#pragma message("No XERCES namespace")
|
||||
#define XERCES_CPP_NAMESPACE
|
||||
#endif
|
||||
|
||||
|
||||
namespace SAX
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue