]> www.ginac.de Git - ginac.git/blobdiff - ginac/utils.h
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / utils.h
index 3c33162ec8adc389e58b5617eeafa63082fdcc62..18a5e7bd3f86c85c17216ec9ef20793546244fcf 100644 (file)
@@ -28,7 +28,9 @@
 #include "config.h"
 #include "assertion.h"
 
 #include "config.h"
 #include "assertion.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 template<class T>
 string ToString(T const & t)
 
 template<class T>
 string ToString(T const & t)
@@ -131,6 +133,8 @@ OutputIterator mymerge3(InputIterator1 first1, InputIterator1 last1,
   }
 }
 
   }
 }
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE
 
 #endif // ndef __GINAC_UTILS_H__
 
 #endif // ndef __GINAC_UTILS_H__