]> www.ginac.de Git - ginac.git/blobdiff - ginac/normal.h
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / normal.h
index 0fa3a4418b4f4876cbedb70fa4ab0ac09c28b3cc..6395ffe8afd733da61041fcbac6cf8d9fd7d7b33 100644 (file)
@@ -24,7 +24,9 @@
 #ifndef __GINAC_NORMAL_H__
 #define __GINAC_NORMAL_H__
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 class ex;
 class symbol;
@@ -50,6 +52,8 @@ extern ex lcm(const ex &a, const ex &b, bool check_args = true);
 // Square-free factorization of a polynomial a(x)
 extern ex sqrfree(const ex &a, const symbol &x);
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE
 
 #endif // ndef __GINAC_NORMAL_H__