]> www.ginac.de Git - ginac.git/blobdiff - ginac/operators.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / operators.cpp
index 4d762b305c2424ccb623ad5a6e11a61bfa65681e..c21e0ea62a572c27dd56b735a18054bb026271b1 100644 (file)
@@ -31,7 +31,9 @@
 #include "relational.h"
 #include "debugmsg.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 // binary arithmetic operators ex with ex
 
@@ -438,4 +440,6 @@ istream & operator>>(istream & is, ex & e)
     throw(std::logic_error("input from streams not yet implemented"));
 }
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE