]> www.ginac.de Git - ginac.git/blobdiff - ginac/printtree.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / printtree.cpp
index 99cf56e078395191e5fbd2d524be2f6c1c568a6f..645799e17a2bfce20c3bac0646924f334cc92201 100644 (file)
@@ -40,7 +40,9 @@
 #include "symbol.h"
 #include "debugmsg.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 void ex::printtree(ostream & os, unsigned indent) const
 {
@@ -181,4 +183,6 @@ void expairseq::printtree(ostream & os, unsigned indent) const
 #endif // def EXPAIRSEQ_USE_HASHTAB
 }
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE