]> www.ginac.de Git - ginac.git/blobdiff - ginac/basic.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / basic.cpp
index eb4a72e034192e9e53cb478cfe0650b91a9f00be..96fa259d0409b5db4de12c196e735a2df5846fab 100644 (file)
@@ -34,7 +34,9 @@
 #include "utils.h"
 #include "debugmsg.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
@@ -417,4 +419,6 @@ type_info const & typeid_basic=typeid(some_basic);
 
 int max_recursion_level=1024;
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE