Impose cloonel as the outer namespace for vwr.

This is needed when cloonelgraphics is used outside of
clooneljump project.
This commit is contained in:
King_DuckZ 2017-03-04 00:33:54 +00:00
parent 65b6269cea
commit e53e59e4ff

View file

@ -20,6 +20,13 @@
#ifndef id7155F721B70C41B383896327C7D07E30 #ifndef id7155F721B70C41B383896327C7D07E30
#define 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/vectorwrapper.hpp"
#include "vectorwrapper/vector_cast.hpp" #include "vectorwrapper/vector_cast.hpp"
#include "compatibility.h" #include "compatibility.h"
@ -81,4 +88,11 @@ namespace cloonel {
#undef SPECIALIZE_ARRAY_VECTOR #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 #endif