]> www.ginac.de Git - ginac.git/blobdiff - ginac/constant.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / constant.cpp
index f21c05e8027b03349152863f9934d72fd07b5397..12e9dde44f6d734bfda71c56b453c9b0cdc674b3 100644 (file)
@@ -28,7 +28,9 @@
 #include "ex.h"
 #include "debugmsg.h"
 
 #include "ex.h"
 #include "debugmsg.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
@@ -165,4 +167,6 @@ const constant EulerGamma("EulerGamma", EulerGammaEvalf);
  *  Diverts straight into CLN for evalf(). */
 const constant Catalan("Catalan", CatalanEvalf);
 
  *  Diverts straight into CLN for evalf(). */
 const constant Catalan("Catalan", CatalanEvalf);
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE