]> www.ginac.de Git - ginac.git/blobdiff - ginac/printcsrc.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / printcsrc.cpp
index 2d0ccfd378d27a4d6965e7823651d791cf466207..723b862b471caef2b77bc6e0498d7a064fa5f47b 100644 (file)
@@ -39,7 +39,9 @@
 #include "symbol.h"
 #include "debugmsg.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 /** Print expression as a C++ statement. The output looks like
  *  "<type> <var_name> = <expression>;". The "type" parameter has an effect
@@ -330,4 +332,6 @@ void relational::printcsrc(ostream & os, unsigned type, unsigned upper_precedenc
                os << ")";
 }
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE