]> www.ginac.de Git - ginac.git/blobdiff - ginac/power.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / power.cpp
index bed6ed2f4fd841d43e57430129b3a7c53149710f..64dd1fdca9e6305d866446b329b7a4114df69771 100644 (file)
@@ -33,7 +33,9 @@
 #include "symbol.h"
 #include "debugmsg.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 typedef vector<int> intvector;
 
@@ -721,4 +723,6 @@ unsigned power::precedence=60;
 const power some_power;
 type_info const & typeid_power=typeid(some_power);
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE