Added compile time messages saying whether the Xerces namespace is defined or not

This commit is contained in:
jez_higgins 2003-03-21 12:54:47 +00:00
parent 6428fb5093
commit 5b5670c9bd
2 changed files with 6 additions and 2 deletions

View file

@ -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
{

View file

@ -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
{