diff options
Diffstat (limited to 'include/proj/util.hpp')
| -rw-r--r-- | include/proj/util.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/proj/util.hpp b/include/proj/util.hpp index 622709d1..5c6eb329 100644 --- a/include/proj/util.hpp +++ b/include/proj/util.hpp @@ -92,6 +92,15 @@ namespace proj {} #include "nn.hpp" /* To allow customizing the base namespace of PROJ */ +#ifdef PROJ_INTERNAL_CPP_NAMESPACE +#define NS_PROJ osgeo::internalproj +#define NS_PROJ_START \ + namespace osgeo { \ + namespace internalproj { +#define NS_PROJ_END \ + } \ + } +#else #ifndef NS_PROJ #define NS_PROJ osgeo::proj #define NS_PROJ_START \ @@ -101,6 +110,7 @@ namespace proj {} } \ } #endif +#endif // Private-implementation (Pimpl) pattern #define PROJ_OPAQUE_PRIVATE_DATA \ |
