]> www.ginac.de Git - ginac.git/blobdiff - ginac/lorentzidx.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / lorentzidx.cpp
index 6d09ee1f271ada48f3a2276a6f45601220fff621..62b01aa4ff35d27c3cf6eb33253e7404bb882382 100644 (file)
@@ -26,7 +26,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
@@ -251,4 +253,6 @@ lorentzidx lorentzidx::create_anonymous_representative(void) const
 const lorentzidx some_lorentzidx;
 type_info const & typeid_lorentzidx=typeid(some_lorentzidx);
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE