diff --git a/src/cloonelgraphics/vectypes.hpp b/src/cloonelgraphics/vectypes.hpp index 2cf1981..876f7ab 100644 --- a/src/cloonelgraphics/vectypes.hpp +++ b/src/cloonelgraphics/vectypes.hpp @@ -20,6 +20,13 @@ #ifndef id7155F721B70C41B383896327C7D07E30 #define id7155F721B70C41B383896327C7D07E30 +#if defined(VWR_OUTER_NAMESPACE) +# define CLOONEL_OUTER_NAMESPACE_WAS_DEFINED +# pragma push_macro("VWR_OUTER_NAMESPACE") +# undef VWR_OUTER_NAMESPACE +#endif +#define VWR_OUTER_NAMESPACE cloonel + #include "vectorwrapper/vectorwrapper.hpp" #include "vectorwrapper/vector_cast.hpp" #include "compatibility.h" @@ -81,4 +88,11 @@ namespace cloonel { #undef SPECIALIZE_ARRAY_VECTOR +#if defined(CLOONEL_OUTER_NAMESPACE_WAS_DEFINED) +# undef CLOONEL_OUTER_NAMESPACE_WAS_DEFINED +# pragma pop_macro("VWR_OUTER_NAMESPACE") +#else +# undef VWR_OUTER_NAMESPACE +#endif + #endif