]> www.ginac.de Git - ginac.git/blobdiff - ginac/operators.h
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / operators.h
index fab2870b4fff53152dd838342f5bdd174962879c..01210fc1c917a1033739cddaa6c4a08645c8c7b0 100644 (file)
@@ -25,7 +25,9 @@
 
 #include <iostream>
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 class ex;
 class numeric;
@@ -129,6 +131,8 @@ relational operator>=(numeric const & lh, ex const & rh);
 ostream & operator<<(ostream & os, ex const & e);
 istream & operator>>(istream & is, ex & e);
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE
 
 #endif // ndef __GINAC_OPERATORS_H__