diff --git a/SAX/wrappers/saxxerces.cpp b/SAX/wrappers/saxxerces.cpp index cf3d2a82..cad48bb8 100644 --- a/SAX/wrappers/saxxerces.cpp +++ b/SAX/wrappers/saxxerces.cpp @@ -8,6 +8,12 @@ #include +#ifndef XERCES_HAS_CPP_NAMESPACE +#pragma message("No XERCES namespace") +#else +#pragma message("XERCES namespace defined") +#endif + namespace SAX { diff --git a/SAX/wrappers/saxxerces.h b/SAX/wrappers/saxxerces.h index a8d5effe..97befaa1 100644 --- a/SAX/wrappers/saxxerces.h +++ b/SAX/wrappers/saxxerces.h @@ -39,11 +39,9 @@ #include #ifndef XERCES_HAS_CPP_NAMESPACE -#pragma message("No XERCES namespace") #define XERCES_CPP_NAMESPACE #endif - namespace SAX {